summaryrefslogtreecommitdiff
path: root/python/examples/pubsub/topic_subscriber.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/pubsub/topic_subscriber.py')
-rwxr-xr-xpython/examples/pubsub/topic_subscriber.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/pubsub/topic_subscriber.py b/python/examples/pubsub/topic_subscriber.py
index 7a886974ee..489c7cbb19 100755
--- a/python/examples/pubsub/topic_subscriber.py
+++ b/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()))