summaryrefslogtreecommitdiff
path: root/python/examples/api/drain
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-02-16 03:48:44 +0000
committerRafael H. Schloming <rhs@apache.org>2010-02-16 03:48:44 +0000
commita127cedac14989a730c08ffb7660d8566991f6a3 (patch)
treecbbb14d04a6e2a99ff1ebc9eb4e1aab61c282e5c /python/examples/api/drain
parent0c3950cee69412bd3b7c1790fd452799af25d5da (diff)
downloadqpid-python-a127cedac14989a730c08ffb7660d8566991f6a3.tar.gz
changed sender/receiver to be synchronous by default when invoked on a connected session
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910388 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/examples/api/drain')
-rwxr-xr-xpython/examples/api/drain5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/examples/api/drain b/python/examples/api/drain
index f2d7a50058..c244cbc09c 100755
--- a/python/examples/api/drain
+++ b/python/examples/api/drain
@@ -93,9 +93,8 @@ try:
ssn.acknowledge()
except Empty:
break
- except ReceiveError, e:
- print e
- break
+except ReceiveError, e:
+ print e
except KeyboardInterrupt:
pass