mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-15 11:41:29 +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
|
||||
if res['version'] is None:
|
||||
res['version'] = 'blacklisted'
|
||||
(trigger, src, arch, ver, status, stamp) = ([res['trigger'], res['package'], res['arch'], res['version'], res['status'], str(res['run_id'])])
|
||||
if trigger is None:
|
||||
(triggers, src, arch, ver, status, stamp) = ([res['trigger'], res['package'], res['arch'], res['version'], res['status'], str(res['run_id'])])
|
||||
if triggers is None:
|
||||
# not requested for this policy, so ignore
|
||||
continue
|
||||
for trigger in triggers.split():
|
||||
if status is None:
|
||||
# still running => pending
|
||||
arch_list = self.pending_tests.setdefault(trigger, {}).setdefault(src, [])
|
||||
|
Loading…
x
Reference in New Issue
Block a user