summaryrefslogtreecommitdiff
path: root/python/examples/api/drain
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-03-31 21:17:09 +0000
committerRafael H. Schloming <rhs@apache.org>2010-03-31 21:17:09 +0000
commite4ecd45446308940c5cccd650386ed9526c1866a (patch)
treea145aec350e4769fac79e832ca6852b3abfbbdc9 /python/examples/api/drain
parent2e29faa768283390452b7d432db28d43cd4a27aa (diff)
downloadqpid-python-e4ecd45446308940c5cccd650386ed9526c1866a.tar.gz
added SSL support to API
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/examples/api/drain')
-rwxr-xr-xpython/examples/api/drain2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/api/drain b/python/examples/api/drain
index c244cbc09c..d7ac03afa6 100755
--- a/python/examples/api/drain
+++ b/python/examples/api/drain
@@ -73,7 +73,7 @@ class Formatter:
return eval(st, self.environ)
# 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,