summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2012-07-24 16:20:51 +0100
committerAsk Solem <ask@celeryproject.org>2012-07-24 16:20:51 +0100
commit52b881d262ed9e5ed2ad05ae33549c0803e2aa65 (patch)
treed77d8fc3b36ddb682e286e653d489f178c3312ff
parentb96e15ba5fa32706ae58a8c42e55174dcfed34b1 (diff)
downloadkombu-52b881d262ed9e5ed2ad05ae33549c0803e2aa65.tar.gz
flakes
-rw-r--r--kombu/tests/transport/test_pyamqp.py2
-rw-r--r--kombu/transport/pyamqp.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/kombu/tests/transport/test_pyamqp.py b/kombu/tests/transport/test_pyamqp.py
index c9a35444..b48ec153 100644
--- a/kombu/tests/transport/test_pyamqp.py
+++ b/kombu/tests/transport/test_pyamqp.py
@@ -5,7 +5,7 @@ import sys
from nose import SkipTest
try:
- import amqp
+ import amqp # noqa
except ImportError:
pyamqp = None # noqa
else:
diff --git a/kombu/transport/pyamqp.py b/kombu/transport/pyamqp.py
index 66cd9a69..a15ccaf3 100644
--- a/kombu/transport/pyamqp.py
+++ b/kombu/transport/pyamqp.py
@@ -11,10 +11,8 @@ pure python amqp transport.
from __future__ import absolute_import
import amqp
-import socket
from kombu.exceptions import StdChannelError
-from kombu.utils.encoding import str_to_bytes
from kombu.utils.amq_manager import get_manager
from . import base