summaryrefslogtreecommitdiff
path: root/qpid/python/examples/fanout/fanout_producer.py
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/examples/fanout/fanout_producer.py')
-rwxr-xr-xqpid/python/examples/fanout/fanout_producer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/examples/fanout/fanout_producer.py b/qpid/python/examples/fanout/fanout_producer.py
index 4d24a460d1..c4df252c70 100755
--- a/qpid/python/examples/fanout/fanout_producer.py
+++ b/qpid/python/examples/fanout/fanout_producer.py
@@ -49,7 +49,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()))