summaryrefslogtreecommitdiff
path: root/python/examples/request-response/client.py
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2008-12-16 18:50:55 +0000
committerJonathan Robie <jonathan@apache.org>2008-12-16 18:50:55 +0000
commit66d295bf47c6c91ecd2b1e7054d44e877429f1ed (patch)
treec11b8271ae60a1c64597d138c121cb7c6eb28360 /python/examples/request-response/client.py
parent728cdb9d5891209202eda7f8f03431af5f7a31c7 (diff)
downloadqpid-python-66d295bf47c6c91ecd2b1e7054d44e877429f1ed.tar.gz
Modified Connect() constructor throughout. User name and password are now
supplied for the connection. (Someone changed this, and it no longer matched the original tutorial.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727116 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/examples/request-response/client.py')
-rwxr-xr-xpython/examples/request-response/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/request-response/client.py b/python/examples/request-response/client.py
index 563e4f2992..b29fcf3ea7 100755
--- a/python/examples/request-response/client.py
+++ b/python/examples/request-response/client.py
@@ -73,7 +73,7 @@ if len(sys.argv) > 2 :
# Create a connection.
socket = connect(host, port)
-connection = Connection (sock=socket)
+connection = Connection (sock=socket, username=user, password=password)
connection.start()
session = connection.session(str(uuid4()))