From b0da550dfc3c8fc1f2e0fb6056d64bbd26b32017 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Wed, 11 May 2016 14:56:11 -0400 Subject: [PATCH] ignore tagless buildroots in BuildTagTest --- hub/kojihub.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hub/kojihub.py b/hub/kojihub.py index d8e85a61..ba7a9728 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -7571,6 +7571,9 @@ class BuildTagTest(koji.policy.BaseSimpleTest): if br_id is None: continue tagname = get_buildroot(br_id)['tag_name'] + if tagname is None: + # content generator buildroots might not have tag info + continue for pattern in args: if fnmatch.fnmatch(tagname, pattern): return True