diff options
author | Ask Solem <ask@celeryproject.org> | 2012-08-05 17:21:49 +0100 |
---|---|---|
committer | Ask Solem <ask@celeryproject.org> | 2012-08-05 17:21:55 +0100 |
commit | db1af567b26399c849dfa77be1d3917ebdca1455 (patch) | |
tree | 9abc21f05ff6f59f01d5e1b035f539d8727e9bbb /kombu/compat.py | |
parent | 21279e71685ec76b7640d38afedc0048245ad79d (diff) | |
download | kombu-2.3-archived.tar.gz |
Adds back kombu.compat.entry_to_queue. Closes celery/celery#8322.3-archived
Diffstat (limited to 'kombu/compat.py')
-rw-r--r-- | kombu/compat.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kombu/compat.py b/kombu/compat.py index 88874aad..88aedaa9 100644 --- a/kombu/compat.py +++ b/kombu/compat.py @@ -19,6 +19,9 @@ from .entity import Exchange, Queue __all__ = ['Publisher', 'Consumer'] +# XXX compat attribute +entry_to_queue = Queue.from_dict + def _iterconsume(connection, consumer, no_ack=False, limit=None): consumer.consume(no_ack=no_ack) |