From 3ed2749dc4e25e723f14f52b75c657d8dfae615d Mon Sep 17 00:00:00 2001 From: Steeve Morin Date: Thu, 9 Aug 2012 18:56:03 +0300 Subject: [PATCH] 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. --- kombu/transport/pika2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kombu/transport/pika2.py b/kombu/transport/pika2.py index bf1ab721..dc212f5c 100644 --- a/kombu/transport/pika2.py +++ b/kombu/transport/pika2.py @@ -103,8 +103,7 @@ class Channel(blocking.BlockingChannel, base.StdChannel): properties = spec.BasicProperties(priority=priority, content_type=content_type, content_encoding=content_encoding, - headers=headers, - **properties) + headers=headers) return body, properties def message_to_python(self, raw_message):