From bbdd8105b274d88c189f846df5ec4628288a0c98 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Sat, 6 Nov 2021 19:19:10 -0700 Subject: [PATCH] Split all triggers, not just the first one --- britney2/policies/autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 6ad3f07..d20198f 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -1043,7 +1043,7 @@ class AutopkgtestPolicy(BasePolicy): # parse recorded triggers in test result 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: self.logger.error('%s result has no ADT_TEST_TRIGGERS, ignoring') continue