Merge pull request #1547 from jberry-suse/repo_checker-whitelist_clean-binaries-common-None
repo_checker: whitelist_clean: handle binaries_common being None.
This commit is contained in:
commit
9f20fc7f73
@ -565,7 +565,7 @@ class RepoChecker(ReviewBot.ReviewBot):
|
||||
else:
|
||||
binaries_common = binaries_common.intersection(whitelists_remaining[key])
|
||||
|
||||
if len(binaries_common):
|
||||
if binaries_common is not None and len(binaries_common):
|
||||
# Remove entries common to all archs and place in common whitelist.
|
||||
whitelists_remaining[prefix].update(binaries_common)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user