diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-02-16 03:48:44 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-02-16 03:48:44 +0000 |
| commit | 1f0c6b6661d511d5858e3755718750a5e6fc70f8 (patch) | |
| tree | d9d80581712be99836609c04e9e23398d5a6b8cd /qpid/python/examples/api/drain | |
| parent | 039b5540faff26ec317b111a5c322e935ae22a45 (diff) | |
| download | qpid-python-1f0c6b6661d511d5858e3755718750a5e6fc70f8.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@910388 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples/api/drain')
| -rwxr-xr-x | qpid/python/examples/api/drain | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/python/examples/api/drain b/qpid/python/examples/api/drain index f2d7a50058..c244cbc09c 100755 --- a/qpid/python/examples/api/drain +++ b/qpid/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 |
