Add todo note for kombu pull request

Change-Id: I50f51c616f81772b352fabe430972e08330017c4
This commit is contained in:
Joshua Harlow
2015-02-16 21:55:28 -08:00
parent 14009d2334
commit 145599a754

View File

@@ -23,7 +23,12 @@ _MSG_PROPERTIES = tuple([
class DelayedPretty(object):
"""Wraps a message and delays prettifying it until requested."""
"""Wraps a message and delays prettifying it until requested.
TODO(harlowja): remove this when https://github.com/celery/kombu/pull/454/
is merged and a release is made that contains it (since that pull
request is equivalent and/or better than this).
"""
def __init__(self, message):
self._message = message
@@ -47,8 +52,6 @@ def _prettify_message(message):
This provides something decent(ish) for debugging (or other purposes) so
that messages are more nice and understandable....
TODO(harlowja): submit something into kombu to fix/adjust this.
"""
if message.content_type is not None:
properties = {