From c0b540af69fb63e82fe618020f1155ed517716e9 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Sat, 31 Jul 2010 14:26:20 +0200 Subject: [PATCH] Fixed typo message_data -> body --- kombu/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kombu/entity.py b/kombu/entity.py index 94f12a1f..cad25677 100644 --- a/kombu/entity.py +++ b/kombu/entity.py @@ -191,7 +191,7 @@ class Exchange(MaybeChannelBound): """ properties = properties or {} properties["delivery_mode"] = delivery_mode or self.delivery_mode - return self.channel.prepare_message(message_data, + return self.channel.prepare_message(body, properties=properties, priority=priority, content_type=content_type,