summaryrefslogtreecommitdiff
path: root/qpid/python/examples/api/spout
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/examples/api/spout')
-rwxr-xr-xqpid/python/examples/api/spout2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/examples/api/spout b/qpid/python/examples/api/spout
index 9606c3501f..0d37ede512 100755
--- a/qpid/python/examples/api/spout
+++ b/qpid/python/examples/api/spout
@@ -93,7 +93,7 @@ else:
content = text
# XXX: should make URL default the port for us
-conn = Connection(url.host, url.port or AMQP_PORT,
+conn = Connection(url.host, url.port,
username=url.user,
password=url.password,
reconnect=opts.reconnect,