From 5c2e828173d2abc39cd2f10312e5897205f60c47 Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Mon, 30 Jan 2017 22:33:43 +0100
Subject: [PATCH] py3again

---
 coolamqp/clustering/cluster.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/coolamqp/clustering/cluster.py b/coolamqp/clustering/cluster.py
index c720233..229f7e1 100644
--- a/coolamqp/clustering/cluster.py
+++ b/coolamqp/clustering/cluster.py
@@ -142,7 +142,7 @@ class Cluster(object):
             tx = False
 
         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:
             raise NotImplementedError(u'Sorry, this functionality is not yet implemented!')
 
-- 
GitLab