diff --git a/zaqar/api/v2/endpoints.py b/zaqar/api/v2/endpoints.py index 20c1fb83a..9dd69933e 100644 --- a/zaqar/api/v2/endpoints.py +++ b/zaqar/api/v2/endpoints.py @@ -444,9 +444,6 @@ class Endpoints(object): None) queue_default_ttl = queue_meta.get('_default_message_ttl') - # TODO(flwang): To avoid any unexpected regression issue, we just - # leave the _message_post_spec attribute of class as it's. It - # should be removed in Newton release. if queue_default_ttl: _message_post_spec = (('ttl', int, queue_default_ttl), ('body', '*', None),) diff --git a/zaqar/transport/wsgi/v2_0/messages.py b/zaqar/transport/wsgi/v2_0/messages.py index ca45e74b8..5c4611739 100644 --- a/zaqar/transport/wsgi/v2_0/messages.py +++ b/zaqar/transport/wsgi/v2_0/messages.py @@ -37,7 +37,6 @@ class CollectionResource(object): '_queue_controller', '_wsgi_conf', '_validate', - '_message_post_spec', '_default_message_ttl' ) @@ -51,11 +50,6 @@ class CollectionResource(object): self._queue_controller = queue_controller self._default_message_ttl = default_message_ttl - self._message_post_spec = ( - ('ttl', int, self._default_message_ttl), - ('body', '*', None), - ) - # ---------------------------------------------------------------------- # Helpers # ---------------------------------------------------------------------- @@ -175,9 +169,6 @@ class CollectionResource(object): queue_max_msg_size = queue_meta.get('_max_messages_post_size') queue_default_ttl = queue_meta.get('_default_message_ttl') - # TODO(flwang): To avoid any unexpected regression issue, we just - # leave the _message_post_spec attribute of class as it's. It - # should be removed in Newton release. if queue_default_ttl: message_post_spec = (('ttl', int, queue_default_ttl), ('body', '*', None),)