소스 검색

Fixed camqadm to work with Kombu

Ask Solem 14 년 전
부모
커밋
ac778d5944
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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