ignore tagless buildroots in BuildTagTest
This commit is contained in:
parent
dfcdbbaff2
commit
b0da550dfc
1 changed files with 3 additions and 0 deletions
|
|
@ -7571,6 +7571,9 @@ class BuildTagTest(koji.policy.BaseSimpleTest):
|
||||||
if br_id is None:
|
if br_id is None:
|
||||||
continue
|
continue
|
||||||
tagname = get_buildroot(br_id)['tag_name']
|
tagname = get_buildroot(br_id)['tag_name']
|
||||||
|
if tagname is None:
|
||||||
|
# content generator buildroots might not have tag info
|
||||||
|
continue
|
||||||
for pattern in args:
|
for pattern in args:
|
||||||
if fnmatch.fnmatch(tagname, pattern):
|
if fnmatch.fnmatch(tagname, pattern):
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue