Selaa lähdekoodia

Fixed camqadm to work with Kombu

Ask Solem 14 vuotta sitten
vanhempi
commit
ac778d5944
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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