Add todo note for kombu pull request
Change-Id: I50f51c616f81772b352fabe430972e08330017c4
This commit is contained in:
@@ -23,7 +23,12 @@ _MSG_PROPERTIES = tuple([
|
|||||||
|
|
||||||
|
|
||||||
class DelayedPretty(object):
|
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):
|
def __init__(self, message):
|
||||||
self._message = message
|
self._message = message
|
||||||
@@ -47,8 +52,6 @@ def _prettify_message(message):
|
|||||||
|
|
||||||
This provides something decent(ish) for debugging (or other purposes) so
|
This provides something decent(ish) for debugging (or other purposes) so
|
||||||
that messages are more nice and understandable....
|
that messages are more nice and understandable....
|
||||||
|
|
||||||
TODO(harlowja): submit something into kombu to fix/adjust this.
|
|
||||||
"""
|
"""
|
||||||
if message.content_type is not None:
|
if message.content_type is not None:
|
||||||
properties = {
|
properties = {
|
||||||
|
|||||||
Reference in New Issue
Block a user