summaryrefslogtreecommitdiff
path: root/python/examples/fanout
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-12-05 15:19:45 +0000
committerGordon Sim <gsim@apache.org>2007-12-05 15:19:45 +0000
commit8e9a5272785f55ddc5ab2c395ccd648f0ae24ac1 (patch)
tree187ae4f332f78fdaad1c09e28b1e79bcb542f866 /python/examples/fanout
parent800014ce7d43d13a20a8fa810a1a4ac5dc510a98 (diff)
downloadqpid-python-8e9a5272785f55ddc5ab2c395ccd648f0ae24ac1.tar.gz
Updates to examples from jonathan.robie@redhat.com
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/examples/fanout')
-rw-r--r--python/examples/fanout/config_fanout_exchange.py2
-rw-r--r--python/examples/fanout/fanout_producer.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/python/examples/fanout/config_fanout_exchange.py b/python/examples/fanout/config_fanout_exchange.py
index 6eef1b94e3..3315f5bc14 100644
--- a/python/examples/fanout/config_fanout_exchange.py
+++ b/python/examples/fanout/config_fanout_exchange.py
@@ -50,5 +50,5 @@ session.queue_bind(exchange="amq.fanout", queue="message_queue")
#----- Cleanup ---------------------------------------------
# Clean up before exiting so there are no open threads.
-# channel.session_close()
+session.session_close()
diff --git a/python/examples/fanout/fanout_producer.py b/python/examples/fanout/fanout_producer.py
index 42570ed510..92ca7b7ec0 100644
--- a/python/examples/fanout/fanout_producer.py
+++ b/python/examples/fanout/fanout_producer.py
@@ -46,4 +46,3 @@ session.message_transfer(destination="amq.fanout", content=message)
# Clean up before exiting so there are no open threads.
session.session_close()
-