Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
utils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
f-interop-contributors
utils
Commits
c9b04b62
Commit
c9b04b62
authored
Jan 11, 2018
by
Federico Sismondi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes
parent
59576e5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
event_bus_utils.py
event_bus_utils.py
+3
-3
No files found.
event_bus_utils.py
View file @
c9b04b62
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment