diff options
author | Ask Solem <ask@celeryproject.org> | 2013-09-11 15:28:52 +0100 |
---|---|---|
committer | Ask Solem <ask@celeryproject.org> | 2013-09-11 15:28:52 +0100 |
commit | 84d0c1a5038b2a03da3170287d9b46a5b5013767 (patch) | |
tree | 6387f823b9e98eef9b98bb64e269b8c6e56ed8f7 /kombu/entity.py | |
parent | 6fbc2dd818abd205bb3b16c61ced1094c42de6ee (diff) | |
download | kombu-84d0c1a5038b2a03da3170287d9b46a5b5013767.tar.gz |
ContentDisallowed tests
Diffstat (limited to 'kombu/entity.py')
-rw-r--r-- | kombu/entity.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kombu/entity.py b/kombu/entity.py index b04554b2..d718cbf0 100644 --- a/kombu/entity.py +++ b/kombu/entity.py @@ -8,6 +8,7 @@ Exchange and Queue declarations. from __future__ import absolute_import from .abstract import MaybeChannelBound +from .exceptions import ContentDisallowed from .serialization import prepare_accept_content TRANSIENT_DELIVERY_MODE = 1 @@ -434,6 +435,8 @@ class Queue(MaybeChannelBound): positional arguments: ``(name, messages, consumers)``. """ + ContentDisallowed = ContentDisallowed + name = '' exchange = Exchange('') routing_key = '' |