Fixed typo message_data -> body

This commit is contained in:
Ask Solem 2010-07-31 14:26:20 +02:00
parent 46bd38757b
commit c0b540af69
1 changed files with 1 additions and 1 deletions

View File

@ -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,