Permalink
Browse files

possible ssl/kombu work around

  • Loading branch information...
buzztroll committed Feb 29, 2012
1 parent 03141a4 commit 9b6afe625caee3b5e960725ce8f37517b382f2be
Showing with 9 additions and 0 deletions.
  1. +9 −0 dashi/__init__.py
View
@@ -6,12 +6,21 @@
import sys
import logging
+# Work around for a kombu bug
+from amqplib.client_0_8 import transport
+XXX = transport.SSLTransport
+
+
from kombu.connection import BrokerConnection
from kombu.messaging import Consumer
from kombu.pools import connections, producers
from kombu.entity import Queue, Exchange
from kombu.common import maybe_declare
+setattr(transport, 'SSLTransport', XXX)
+
+
+
log = logging.getLogger(__name__)
class DashiConnection(object):

0 comments on commit 9b6afe6

Please sign in to comment.