Remove leftovers from incomplete copr fedmsg implementation

This commit is contained in:
Jakub Kadlčík
2017-05-22 18:07:54 +02:00
parent 92ee66e107
commit 4992d97937
2 changed files with 0 additions and 11 deletions

View File

@@ -280,8 +280,3 @@ def wait(config, session, msg):
# other backends need this implemented (e.g. COPR)
return [module_build_service.messaging.KojiRepoChange(
'fake msg', builder.module_build_tag['name'])]
# We don't have copr implementation finished yet, Let's fake the repo change event,
# as if copr builds finished successfully
if config.system == "copr":
return [module_build_service.messaging.KojiRepoChange('fake msg', build.koji_tag)]

View File

@@ -121,12 +121,6 @@ def done(config, session, msg):
further_work += start_next_batch_build(
config, module_build, session, builder)
# We don't have copr implementation finished yet, Let's fake the repo change event,
# as if copr builds finished successfully
if config.system == "copr":
further_work += [module_build_service.messaging.KojiRepoChange('fake msg', module_build.koji_tag)]
return further_work
else:
if has_failed_components:
module_build.transition(config, state=models.BUILD_STATES['failed'],