batch.requester_email=r.requester_email
batch.build_failed = build_fnc(r, batch)
if batch.build_failed:
- log.notice("building %s FAILED (%s)" % batch.spec, batch.build_failed)
+ log.notice("building %s FAILED (%s)" % (batch.spec, batch.build_failed))
notify.add_batch(batch, batch.build_failed)
else:
r.some_ok = 1
- log.notice("building %s OK (%s)" % batch.spec, batch.build_failed)
+ log.notice("building %s OK (%s)" % (batch.spec, batch.build_failed))
notify.add_batch(batch, batch.build_failed)
batch.build_time = stopwatch.stop()
report.add_pld_builder_info(batch)
c = "black"
link_pre = ""
link_post = ""
- if (s in ["OK", "FAIL", "FAIL_SRPM_INSTALL", "FAIL_DEPS_UNINSTALL", "FAIL_DEPS_INSTALL",
- "FAIL_NOFILES", "SKIP", "UNSUPP"] and len(self.spec) > 5:
+ if s in ["OK", "FAIL", "FAIL_SRPM_INSTALL", "FAIL_DEPS_UNINSTALL", "FAIL_DEPS_INSTALL", "FAIL_NOFILES",
+ "SKIP", "UNSUPP"] and len(self.spec) > 5:
if self.is_command():
bl_name = "command"
else: