use list and set comprehensions where appropriate
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
247ede734b
commit
399bb28420
2 changed files with 2 additions and 2 deletions
|
@ -652,7 +652,7 @@ class DistgitBugzillaSync:
|
|||
# Combine and collapse those two into a single list:
|
||||
self.pagure_projects = []
|
||||
if project_list:
|
||||
project_list = set(tuple(p.split("/", 1)) for p in project_list)
|
||||
project_list = {tuple(p.split("/", 1)) for p in project_list}
|
||||
for namespace, entries in pagure_namespace_to_poc.items():
|
||||
for name, poc in entries.items():
|
||||
if not project_list or (namespace, name) in project_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue