summaryrefslogtreecommitdiff
path: root/qpid/python/examples
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-04-27 16:37:38 +0000
committerGordon Sim <gsim@apache.org>2010-04-27 16:37:38 +0000
commit0550140874c6dc9e0cdb132568d05b2bfe67449e (patch)
tree2630cdc4f275a683b34710a580ca99c6ad613e58 /qpid/python/examples
parent07c5b6e839e23e72d6d107cc7ed979db412aa53d (diff)
downloadqpid-python-0550140874c6dc9e0cdb132568d05b2bfe67449e.tar.gz
correct name of exception to be caught
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938550 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples')
-rwxr-xr-xqpid/python/examples/api/drain2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/examples/api/drain b/qpid/python/examples/api/drain
index a2e40ec8a0..eaf86f94ac 100755
--- a/qpid/python/examples/api/drain
+++ b/qpid/python/examples/api/drain
@@ -89,7 +89,7 @@ try:
ssn.acknowledge()
except Empty:
break
-except ReceiveError, e:
+except ReceiverError, e:
print e
except KeyboardInterrupt:
pass