Skip to content
Snippets Groups Projects
Commit 5c2e8281 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

py3again

parent 5c6ff2e4
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ class Cluster(object): ...@@ -142,7 +142,7 @@ class Cluster(object):
tx = False tx = False
try: try:
return (self.pub_tr if tx else self.pub_na).publish(message, exchange, routing_key.encode('utf8')) return (self.pub_tr if tx else self.pub_na).publish(message, exchange, routing_key)
except Publisher.UnusablePublisher: except Publisher.UnusablePublisher:
raise NotImplementedError(u'Sorry, this functionality is not yet implemented!') raise NotImplementedError(u'Sorry, this functionality is not yet implemented!')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment