use {} instead of dict literal according to pylint recommendation

This commit is contained in:
Evgenii Alekseev 2021-08-22 13:24:42 +03:00
parent 284f449225
commit 60b94b9ac0

View File

@ -94,7 +94,7 @@ class Executor(Cleaner):
if package in requested and properties.filename is not None if package in requested and properties.filename is not None
} }
else: else:
to_remove = dict() to_remove = {}
for package, filename in to_remove.items(): for package, filename in to_remove.items():
remove_single(package, filename) remove_single(package, filename)