From 7c6a40fb756201ff35197b2f375b664e3307aa64 Mon Sep 17 00:00:00 2001 From: Ravi Tripathi <ravi89@uab.edu> Date: Wed, 19 Feb 2020 22:37:51 -0600 Subject: [PATCH] moving print statement to python3 format --- ohpc_account_create.py | 2 +- ood_account_create.py | 2 +- slurm_agent.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ohpc_account_create.py b/ohpc_account_create.py index 9c3f6a6..4778450 100644 --- a/ohpc_account_create.py +++ b/ohpc_account_create.py @@ -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') diff --git a/ood_account_create.py b/ood_account_create.py index fcdac83..326e541 100644 --- a/ood_account_create.py +++ b/ood_account_create.py @@ -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') diff --git a/slurm_agent.py b/slurm_agent.py index 5ce3727..fde0949 100755 --- a/slurm_agent.py +++ b/slurm_agent.py @@ -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') -- GitLab