summaryrefslogtreecommitdiff
blob: a4bcda6e292df265bfd143b5d634992c9f0a1a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://github.com/celery/kombu/commit/828ba134105eeb4c6df52cb4441cf90c297b77e3
Fixes NA bug with amqplib.
diff --git a/kombu/transport/amqplib.py b/kombu/transport/amqplib.py
index feedee7..f57e28c 100644
--- a/kombu/transport/amqplib.py
+++ b/kombu/transport/amqplib.py
@@ -17,6 +17,9 @@ class SSLError(Exception):  # noqa
         pass
 from struct import unpack
 
+class NA(object):
+    pass
+
 try:
     from amqplib import client_0_8 as amqp
     from amqplib.client_0_8 import transport