From 0583590a2a8a9451d385c7a420340bc5b596d536 Mon Sep 17 00:00:00 2001 From: Peter Barabas Date: Tue, 13 Sep 2016 10:28:57 +0200 Subject: Change prints from statements to function calls Change-Id: I378baa85bd9e1b9b535a2d4e9c8dcb34a267a6e5 Signed-off-by: Peter Barabas --- deploy/common.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'deploy') diff --git a/deploy/common.py b/deploy/common.py index 80832e201..07ad54372 100644 --- a/deploy/common.py +++ b/deploy/common.py @@ -74,13 +74,13 @@ def exec_cmd(cmd, check=True, attempts=1, delay=5, verbose=False, mask_args=[], if check: if return_code > 0: stderr = stderr.strip() - print "Failed command: " + str(masked_cmd) - print "Command returned response: " + str(stderr) - print "Command return code: " + str(return_code) + print("Failed command: " + str(masked_cmd)) + print("Command returned response: " + str(stderr)) + print("Command return code: " + str(return_code)) raise Exception(stderr) else: - print "Command: " + str(masked_cmd) - print str(response) + print("Command: " + str(masked_cmd)) + print(str(response)) return response return response, return_code -- cgit 1.2.3-korg