Skip to content
Snippets Groups Projects
Unverified Commit 7290fcff authored by Ravi Tripathi's avatar Ravi Tripathi Committed by GitHub
Browse files

Merge pull request #11 from rtripath89/move_from_Python2_to_Python3

moving print statement to python3 format
parents be7191ef 7c6a40fb
No related branches found
No related tags found
1 merge request!23Feat resolve uid gid
......@@ -24,7 +24,7 @@ parameters = pika.ConnectionParameters(connect_host,
connection = pika.BlockingConnection(parameters)
channel = connection.channel()
print "connection established. Listening for messages:"
print("connection established. Listening for messages:")
# create exchange to pass messages
channel.exchange_declare(exchange=rcfg.Exchange, exchange_type='direct')
......
......@@ -23,7 +23,7 @@ parameters = pika.ConnectionParameters(connect_host,
connection = pika.BlockingConnection(parameters)
channel = connection.channel()
print "connection established. Listening for messages:"
print("connection established. Listening for messages:")
# create exchange to pass messages
channel.exchange_declare(exchange=rcfg.Exchange, exchange_type='direct')
......
......@@ -23,7 +23,7 @@ parameters = pika.ConnectionParameters(connect_host,
connection = pika.BlockingConnection(parameters)
channel = connection.channel()
print "connection established. Listening for messages:"
print("connection established. Listening for messages:")
# create exchange to pass messages
channel.exchange_declare(exchange=rcfg.Exchange, exchange_type='direct')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment