Merge #551 Do not fail a module build in buildroot_ready when repo is not generated yet.

This commit is contained in:
Jan Kaluža
2017-05-16 08:31:38 +00:00

View File

@@ -104,6 +104,11 @@ class KojiModuleBuilder(GenericBuilder):
log.info("%r checking buildroot readiness for "
"repo: %r, tag_id: %r, artifacts: %r, builds: %r" % (
self, repo, tag_id, artifacts, builds))
if not repo:
log.info("Repo is not generated yet, buildroot is not ready yet.")
return False
ready = bool(koji.util.checkForBuilds(
self.koji_session,
tag_id,