Explorar o código

Fixed camqadm to work with Kombu

Ask Solem %!s(int64=14) %!d(string=hai) anos
pai
achega
ac778d5944
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/bin/camqadm.py

+ 1 - 1
celery/bin/camqadm.py

@@ -318,7 +318,7 @@ class AMQShell(cmd.Cmd):
     def _reconnect(self):
         """Re-establish connection to the AMQP server."""
         self.conn = self.connect(self.conn)
-        self.chan = self.conn.create_backend().channel
+        self.chan = self.conn.channel()
         self.needs_reconnect = False
 
     @property