diff --git a/kombu/simple.py b/kombu/simple.py index 0634eee9..02bca7b2 100644 --- a/kombu/simple.py +++ b/kombu/simple.py @@ -101,7 +101,7 @@ class SimpleBase(object): class SimpleQueue(SimpleBase): no_ack = False queue_opts = {} - exchange_opts = { 'type': 'direct' } + exchange_opts = {'type': 'direct'} def __init__(self, channel, name, no_ack=None, queue_opts=None, exchange_opts=None, serializer=None, diff --git a/kombu/tests/transport/test_pyamqp.py b/kombu/tests/transport/test_pyamqp.py index c96c02be..32f1c229 100644 --- a/kombu/tests/transport/test_pyamqp.py +++ b/kombu/tests/transport/test_pyamqp.py @@ -2,7 +2,6 @@ from __future__ import absolute_import import sys -from functools import partial from mock import patch from nose import SkipTest from itertools import count