From c9b04b620fb8b68f2779a31c592d9ac311d09084 Mon Sep 17 00:00:00 2001 From: Federico Sismondi Date: Thu, 11 Jan 2018 16:01:13 +0100 Subject: [PATCH] minor changes --- event_bus_utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/event_bus_utils.py b/event_bus_utils.py index 25d821e..74928ce 100644 --- a/event_bus_utils.py +++ b/event_bus_utils.py @@ -10,7 +10,7 @@ try: except: from .messages import * -VERSION = '0.0.8' +VERSION = '0.0.9' AMQP_EXCHANGE = 'amq.topic' @@ -59,8 +59,8 @@ class AmqpListener(threading.Thread): @classmethod def default_message_handler(cls, message_as_dict): clean_dict = dict((k, v) for k, v in message_as_dict.items() if v) - print('-'*120) - print(' %s : %s *' %('routing_key',clean_dict.pop('routing_key'))) + print('-' * 120) + print('%s : %s' % ('routing_key', clean_dict.pop('routing_key'))) print('-' * 120) print(json.dumps(clean_dict, indent=4, sort_keys=True)) -- 2.24.1