From d9ee72c7ffe00c91bce29187d7395eff91a9c964 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 3 Dec 2016 16:41:12 +0100 Subject: reproducible debian: remote scheduler: use a set() instead of a list to prevent duplicates Signed-off-by: Holger Levsen --- bin/reproducible_remote_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_remote_scheduler.py') 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 -- cgit v1.2.3-70-g09d2