diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-12-03 16:41:12 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-12-03 16:43:49 +0100 |
commit | d9ee72c7ffe00c91bce29187d7395eff91a9c964 (patch) | |
tree | e71261baa390e99b150b5feca078b32653756e39 | |
parent | a54c8a2cb9b0323747888b80161751f0aacf73e7 (diff) | |
download | jenkins.debian.net-d9ee72c7ffe00c91bce29187d7395eff91a9c964.tar.xz |
reproducible debian: remote scheduler: use a set() instead of a list to prevent duplicates
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index aec225eb..ff22e5c4 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 |