diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-04-09 15:14:27 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-04-09 15:14:27 +0000 |
| commit | f328f8dfb20911b952f0c5551cc37c0b8d42576d (patch) | |
| tree | 06822f9e5ef42755b86765ea16e76cae788764a8 /qpid/python/examples/reservations/common.py | |
| parent | 0aaa340fa8c3b994790b355950d358af3b0979e2 (diff) | |
| download | qpid-python-f328f8dfb20911b952f0c5551cc37c0b8d42576d.tar.gz | |
updated reservations example to match latest changes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932454 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples/reservations/common.py')
| -rw-r--r-- | qpid/python/examples/reservations/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/examples/reservations/common.py b/qpid/python/examples/reservations/common.py index 24e64beda4..12f07e1c92 100644 --- a/qpid/python/examples/reservations/common.py +++ b/qpid/python/examples/reservations/common.py @@ -52,13 +52,13 @@ class Dispatcher: count = len(replies) sequence = 1 - for r in replies: + for to, r in replies: r.correlation_id = msg.correlation_id r.properties["count"] = count r.properties["sequence"] = sequence sequence += 1 try: - snd = session.sender(r.to) + snd = session.sender(to) snd.send(r) except SendError, e: print e |
