summaryrefslogtreecommitdiff
path: root/qpid/python/examples
diff options
context:
space:
mode:
authorJustin Ross <jross@apache.org>2013-04-18 14:36:04 +0000
committerJustin Ross <jross@apache.org>2013-04-18 14:36:04 +0000
commit060f9b4d47da0c5f60dffdc8532332ff92f96bb5 (patch)
treed35a5a1b35a593b9ef7fe6024f1508220b0cdd3f /qpid/python/examples
parenta46a4ab385eeed9b1d513f5f49329ddb6e8b49b1 (diff)
downloadqpid-python-060f9b4d47da0c5f60dffdc8532332ff92f96bb5.tar.gz
QPID-4750: Fix unhandled exception; patch from Ernie Allen
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1469345 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples')
-rwxr-xr-xqpid/python/examples/api/server2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/examples/api/server b/qpid/python/examples/api/server
index 3b9a3560da..78d812bfd2 100755
--- a/qpid/python/examples/api/server
+++ b/qpid/python/examples/api/server
@@ -87,7 +87,7 @@ try:
if snd is not None:
snd.close()
ssn.acknowledge()
-except ReceiveError, e:
+except ReceiverError, e:
print e
except KeyboardInterrupt:
pass