From 8d94bbc212fdb07045489ea2b9723b9dc7239adb Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 17 Jan 2016 18:35:50 +0000 Subject: [PATCH] inst-tester: Use short-hand syntax for new sets Signed-off-by: Niels Thykier --- installability/tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installability/tester.py b/installability/tester.py index 1d03480..23818e5 100644 --- a/installability/tester.py +++ b/installability/tester.py @@ -293,7 +293,7 @@ class InstallabilityTester(object): choices = set() # The subset of musts we haven't checked yet. - check = set([t]) + check = {t} if len(musts) == 1: # Include the essential packages in testing as a starting point. @@ -445,7 +445,7 @@ class InstallabilityTester(object): musts_copy = musts.copy() never_tmp = set() choices_tmp = set() - check_tmp = set([p]) + check_tmp = {p} if not self._check_loop(universe, testing, eqv_table, stats, musts_copy, never_tmp, cbroken, choices_tmp,