Merge #1524 Gracefully handle builds without a koji tag

This commit is contained in:
Matt Prahl
2019-11-22 16:26:12 +00:00
2 changed files with 32 additions and 0 deletions

View File

@@ -1338,6 +1338,9 @@ class KojiModuleBuilder(GenericBuilder):
the module build in the build system.
:return: list of architectures
"""
if not module.koji_tag:
log.warning("No Koji tag associated with module %r", module)
return []
koji_session = KojiModuleBuilder.get_session(conf, login=False)
tag = koji_session.getTag(module.koji_tag)
if not tag: