mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-29 19:31:30 +00:00
Process space separated triggers individually
This commit is contained in:
parent
b6888c2716
commit
20a64cadef
@ -167,10 +167,11 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
# Blacklisted tests don't get a version
|
# Blacklisted tests don't get a version
|
||||||
if res['version'] is None:
|
if res['version'] is None:
|
||||||
res['version'] = 'blacklisted'
|
res['version'] = 'blacklisted'
|
||||||
(trigger, src, arch, ver, status, stamp) = ([res['trigger'], res['package'], res['arch'], res['version'], res['status'], str(res['run_id'])])
|
(triggers, src, arch, ver, status, stamp) = ([res['trigger'], res['package'], res['arch'], res['version'], res['status'], str(res['run_id'])])
|
||||||
if trigger is None:
|
if triggers is None:
|
||||||
# not requested for this policy, so ignore
|
# not requested for this policy, so ignore
|
||||||
continue
|
continue
|
||||||
|
for trigger in triggers.split():
|
||||||
if status is None:
|
if status is None:
|
||||||
# still running => pending
|
# still running => pending
|
||||||
arch_list = self.pending_tests.setdefault(trigger, {}).setdefault(src, [])
|
arch_list = self.pending_tests.setdefault(trigger, {}).setdefault(src, [])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user