Split all triggers, not just the first one

less-recipients
Steve Langasek 3 years ago
parent e7eae446b6
commit bbdd8105b2

@ -1043,7 +1043,7 @@ class AutopkgtestPolicy(BasePolicy):
# parse recorded triggers in test result # parse recorded triggers in test result
if triggers: if triggers:
result_triggers = [i for i in triggers.split(' ', 1) if '/' in i] result_triggers = [i for i in triggers.split(' ') if '/' in i]
else: else:
self.logger.error('%s result has no ADT_TEST_TRIGGERS, ignoring') self.logger.error('%s result has no ADT_TEST_TRIGGERS, ignoring')
continue continue

Loading…
Cancel
Save