diff options
| author | Gordon Sim <gsim@apache.org> | 2010-04-27 16:37:38 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-04-27 16:37:38 +0000 |
| commit | ad98e21d7691f74a9cbb309299ee0c3947f2e283 (patch) | |
| tree | ebde268d0bf987e30605924df1892b0756e2d042 /python/examples | |
| parent | f10f690cdd3ea96dc0f2700f9daea8127f5537bf (diff) | |
| download | qpid-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')
| -rwxr-xr-x | python/examples/api/drain | 2 |
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 |
