Default needed for this to make sense.

This commit is contained in:
Ralph Bean
2017-02-02 03:30:16 -05:00
parent 13a6345548
commit d093c5eef3

View File

@@ -165,7 +165,7 @@ class MBSConsumer(fedmsg.consumers.FedmsgConsumer):
def process_message(self, session, msg):
log.debug('Received a message with an ID of "{0}" and of type "{1}"'
.format(getattr(msg, 'msg_id'), type(msg).__name__))
.format(getattr(msg, 'msg_id', None), type(msg).__name__))
# Choose a handler for this message
if type(msg) == module_build_service.messaging.KojiBuildChange: