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:
Jimmy Berry 2018-05-16 14:31:47 -05:00 committed by GitHub
commit 9f20fc7f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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