Error out early if this is absent.

This commit is contained in:
Ralph Bean
2016-07-16 20:23:16 -04:00
parent d6fd3e05a9
commit c4e01cea40

View File

@@ -192,6 +192,8 @@ class KojiModuleBuilder(GenericBuilder):
raise ValueError("Unrecognized koji authtype %r" % authtype)
self.arches = config.koji_arches
if not self.arches:
raise ValueError("No koji_arches specified in the config.")
self.module_tag = tag_name
self.module_build_tag = "%s-build" % tag_name