mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-20 07:41:09 +00:00
Stop grouping debian syncs
This commit is contained in:
parent
18fd57e383
commit
b0dc9079db
@ -10,6 +10,11 @@ from policies.policy import BasePolicy, PolicyVerdict
|
||||
|
||||
LAUNCHPAD_URL = 'https://api.launchpad.net/1.0/'
|
||||
PRIMARY = LAUNCHPAD_URL + 'ubuntu/+archive/primary'
|
||||
IGNORE = [
|
||||
'',
|
||||
'https://api.launchpad.net/1.0/ubuntu/+archive/primary',
|
||||
'https://api.launchpad.net/1.0/debian/+archive/primary',
|
||||
]
|
||||
|
||||
|
||||
def query_lp_rest_api(obj, query):
|
||||
@ -86,7 +91,7 @@ class SourcePPAPolicy(BasePolicy):
|
||||
version = source_data_srcdist.version
|
||||
sourceppa = self.lp_get_source_ppa(source_name, version)
|
||||
self.source_ppas_by_pkg[source_name][version] = sourceppa
|
||||
if not sourceppa:
|
||||
if sourceppa in IGNORE:
|
||||
return PolicyVerdict.PASS
|
||||
|
||||
shortppa = sourceppa.replace(LAUNCHPAD_URL, '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user