From cab5db31674b25b3c70b2ac5ed4ea97ab413f932 Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Tue, 16 Dec 2008 18:50:55 +0000 Subject: 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@727116 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/examples/pubsub/topic_subscriber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/python/examples/pubsub/topic_subscriber.py') diff --git a/qpid/python/examples/pubsub/topic_subscriber.py b/qpid/python/examples/pubsub/topic_subscriber.py index 7a886974ee..489c7cbb19 100755 --- a/qpid/python/examples/pubsub/topic_subscriber.py +++ b/qpid/python/examples/pubsub/topic_subscriber.py @@ -81,7 +81,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())) -- cgit v1.2.1