mirror of https://github.com/celery/kombu.git
Fix Pika 0.9.5
Pika doesn't work on Kombu 2.3.2 because we are preparing the message with properties that don't exist. Remove them.
This commit is contained in:
parent
597c35789e
commit
3ed2749dc4
|
@ -103,8 +103,7 @@ class Channel(blocking.BlockingChannel, base.StdChannel):
|
||||||
properties = spec.BasicProperties(priority=priority,
|
properties = spec.BasicProperties(priority=priority,
|
||||||
content_type=content_type,
|
content_type=content_type,
|
||||||
content_encoding=content_encoding,
|
content_encoding=content_encoding,
|
||||||
headers=headers,
|
headers=headers)
|
||||||
**properties)
|
|
||||||
return body, properties
|
return body, properties
|
||||||
|
|
||||||
def message_to_python(self, raw_message):
|
def message_to_python(self, raw_message):
|
||||||
|
|
Loading…
Reference in New Issue