From a127cedac14989a730c08ffb7660d8566991f6a3 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 16 Feb 2010 03:48:44 +0000 Subject: 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 --- python/examples/api/spout | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'python/examples/api/spout') diff --git a/python/examples/api/spout b/python/examples/api/spout index 97cb540c21..5479b66211 100755 --- a/python/examples/api/spout +++ b/python/examples/api/spout @@ -113,13 +113,11 @@ try: name, val = nameval(p) msg.properties[name] = val - try: - snd.send(msg) - count += 1 - print msg - except SendError, e: - print e - break + snd.send(msg) + count += 1 + print msg +except SendError, e: + print e except KeyboardInterrupt: pass -- cgit v1.2.1