summaryrefslogtreecommitdiff
path: root/python/examples/api
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
commitad98e21d7691f74a9cbb309299ee0c3947f2e283 (patch)
treeebde268d0bf987e30605924df1892b0756e2d042 /python/examples/api
parentf10f690cdd3ea96dc0f2700f9daea8127f5537bf (diff)
downloadqpid-python-ad98e21d7691f74a9cbb309299ee0c3947f2e283.tar.gz
correct name of exception to be caught
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938550 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/examples/api')
-rwxr-xr-xpython/examples/api/drain2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/api/drain b/python/examples/api/drain
index a2e40ec8a0..eaf86f94ac 100755
--- a/python/examples/api/drain
+++ b/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