|
|
|
@ -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, [])
|
|
|
|
|