Assign further_work either way.

This commit is contained in:
Ralph Bean
2017-03-02 14:17:22 -05:00
parent 9e62eacf3e
commit e9c9097755

View File

@@ -197,6 +197,7 @@ class MBSConsumer(fedmsg.consumers.FedmsgConsumer):
if build:
further_work = handler(conf, session, msg) or []
else:
further_work = []
log.warn("There's no module associated with message ID {}"
.format(msg.msg_id))
except ValidationError as e: