diff options
author | Omer Katz <omer.drow@gmail.com> | 2020-07-23 16:32:53 +0300 |
---|---|---|
committer | Omer Katz <omer.drow@gmail.com> | 2020-07-23 16:32:53 +0300 |
commit | 7bc0e1d0731123024979aa122a907303e154ade1 (patch) | |
tree | 3ed824844afc4a4f6c96447a3c8c9b1582c779ef /kombu/compat.py | |
parent | 1916b815f88551138ff26eda3e4af4c519c893e3 (diff) | |
download | kombu-7bc0e1d0731123024979aa122a907303e154ade1.tar.gz |
Remove five usage from kombu/.
Diffstat (limited to 'kombu/compat.py')
-rw-r--r-- | kombu/compat.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kombu/compat.py b/kombu/compat.py index 2e36da80..1fa3f631 100644 --- a/kombu/compat.py +++ b/kombu/compat.py @@ -7,7 +7,6 @@ from itertools import count from . import messaging from .entity import Exchange, Queue -from .five import items __all__ = ('Publisher', 'Consumer') @@ -184,7 +183,7 @@ class ConsumerSet(messaging.Consumer): for consumer in consumers: queues.extend(consumer.queues) if from_dict: - for queue_name, queue_options in items(from_dict): + for queue_name, queue_options in from_dict.items(): queues.append(Queue.from_dict(queue_name, **queue_options)) super().__init__(self.backend, queues, **kwargs) |