inst-tester: Use short-hand syntax for new sets

Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
Niels Thykier 2016-01-17 18:35:50 +00:00
parent 5a90b13756
commit 8d94bbc212

View File

@ -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,