From 92d37a127d2225751e4dc2fc3429e30b29c248ad Mon Sep 17 00:00:00 2001 From: gengchc2 Date: Mon, 17 Oct 2016 17:48:50 +0800 Subject: [PATCH] Remove white space between print () in cliutils.py and lintstack.py There is a white space in line [print (*, then we remove it. Change-Id: I56ab60a40743f6f06493de601c0dff11761343b2 --- mistralclient/openstack/common/cliutils.py | 2 +- tools/lintstack.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mistralclient/openstack/common/cliutils.py b/mistralclient/openstack/common/cliutils.py index dc5e73f7..4018b1e3 100644 --- a/mistralclient/openstack/common/cliutils.py +++ b/mistralclient/openstack/common/cliutils.py @@ -308,5 +308,5 @@ def pretty_choice_list(l): def exit(msg=''): if msg: - print (msg, file=sys.stderr) + print(msg, file=sys.stderr) sys.exit(1) diff --git a/tools/lintstack.py b/tools/lintstack.py index 7189ae3a..433e4c43 100755 --- a/tools/lintstack.py +++ b/tools/lintstack.py @@ -171,7 +171,7 @@ def validate(newmsg=None): print json.dumps(i) print "Consider regenerating the exception file if you will." else: - print ("Please fix the errors above. If you believe they are false" + print("Please fix the errors above. If you believe they are false" " positives, run 'tools/lintstack.py generate' to overwrite.") sys.exit(1)