From: | "Ian Delaney (idella4)" <idella4@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/kombu/files: kombu-NA-tests-fix.patch |
Date: | Sun, 22 Jun 2014 08:32:49 |
Message-Id: | 20140622083246.99D442004F@flycatcher.gentoo.org |
1 | idella4 14/06/22 08:32:46 |
2 | |
3 | Added: kombu-NA-tests-fix.patch |
4 | Log: |
5 | fixes upstream issues #364, update test phase(s) |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/kombu/files/kombu-NA-tests-fix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/files/kombu-NA-tests-fix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kombu/files/kombu-NA-tests-fix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: kombu-NA-tests-fix.patch |
16 | =================================================================== |
17 | https://github.com/celery/kombu/commit/828ba134105eeb4c6df52cb4441cf90c297b77e3 |
18 | Fixes NA bug with amqplib. |
19 | diff --git a/kombu/transport/amqplib.py b/kombu/transport/amqplib.py |
20 | index feedee7..f57e28c 100644 |
21 | --- a/kombu/transport/amqplib.py |
22 | +++ b/kombu/transport/amqplib.py |
23 | @@ -17,6 +17,9 @@ class SSLError(Exception): # noqa |
24 | pass |
25 | from struct import unpack |
26 | |
27 | +class NA(object): |
28 | + pass |
29 | + |
30 | try: |
31 | from amqplib import client_0_8 as amqp |
32 | from amqplib.client_0_8 import transport |