diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-04-09 12:12:50 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-04-09 12:12:50 +0000 |
commit | 4231f0f05a3b25fc1e2981934e8e75adad62971b (patch) | |
tree | d0854d242997c19c5ac16f21195ef3dd9682bea5 /python/qpid/messaging/message.py | |
parent | 73202655fab7a29140cd08e784a8e8ca9fefc951 (diff) | |
download | qpid-python-4231f0f05a3b25fc1e2981934e8e75adad62971b.tar.gz |
removed Message.to
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932375 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging/message.py')
-rw-r--r-- | python/qpid/messaging/message.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/python/qpid/messaging/message.py b/python/qpid/messaging/message.py index d89fa00dc3..a96a6da0ac 100644 --- a/python/qpid/messaging/message.py +++ b/python/qpid/messaging/message.py @@ -76,8 +76,6 @@ class Message: @ivar id: the message id @type user_id: str @ivar user_id: the user-id of the message producer - @type to: str - @ivar to: the destination address @type reply_to: str @ivar reply_to: the address to send replies @type correlation_id: str @@ -91,9 +89,8 @@ class Message: """ def __init__(self, content=None, content_type=UNSPECIFIED, id=None, - subject=None, to=None, user_id=None, reply_to=None, - correlation_id=None, durable=None, priority=None, ttl=None, - properties=None): + subject=None, user_id=None, reply_to=None, correlation_id=None, + durable=None, priority=None, ttl=None, properties=None): """ Construct a new message with the supplied content. The content-type of the message will be automatically inferred from @@ -107,7 +104,6 @@ class Message: """ self.id = id self.subject = subject - self.to = to self.user_id = user_id self.reply_to = reply_to self.correlation_id = correlation_id @@ -127,8 +123,8 @@ class Message: def __repr__(self): args = [] - for name in ["id", "subject", "to", "user_id", "reply_to", - "correlation_id", "priority", "ttl"]: + for name in ["id", "subject", "user_id", "reply_to", "correlation_id", + "priority", "ttl"]: value = self.__dict__[name] if value is not None: args.append("%s=%r" % (name, value)) for name in ["durable", "redelivered", "properties"]: |