[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: remote scheduler: use a set() instead of a list to prevent duplicates
Holger Levsen
holger at layer-acht.org
Sat Dec 3 15:44:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit d9ee72c7ffe00c91bce29187d7395eff91a9c964
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Dec 3 16:41:12 2016 +0100
reproducible debian: remote scheduler: use a set() instead of a list to prevent duplicates
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_remote_scheduler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index aec225e..ff22e5c 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -78,7 +78,7 @@ issue = scheduling_args.issue
status = scheduling_args.status
built_after = scheduling_args.after
built_before = scheduling_args.before
-packages = [x for x in scheduling_args.packages if x]
+packages = set(x for x in scheduling_args.packages if x)
artifacts = scheduling_args.keep_artifacts
notify = scheduling_args.notify or scheduling_args.noisy
notify_on_start = scheduling_args.noisy
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list