aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuzzycat/verify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzycat/verify.py b/fuzzycat/verify.py
index 9a89f4f..58fa0b8 100644
--- a/fuzzycat/verify.py
+++ b/fuzzycat/verify.py
@@ -142,8 +142,8 @@ class GroupVerifier:
continue
for a, b in itertools.combinations(vs, r=2):
for re in (a, b):
- if re.get("extra", {}).get("container_name",
- "").lower().strip() in CONTAINER_NAME_BLACKLIST:
+ container_name = re.get("extra", {}).get("container_name", "") or ""
+ if container_name.lower().strip() in CONTAINER_NAME_BLACKLIST:
self.counter["skip.container_name_blacklist"] += 1
continue
if re.get("publisher", "").lower().strip() in PUBLISHER_BLACKLIST: