summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShu Yingya <yingya.shu@easystack.cn>2016-09-26 10:49:04 +0800
committerShu Yingya <yingya.shu@easystack.cn>2016-09-26 13:17:59 +0800
commit1a4098fe14c897b5a495575f02f9ff4793daccc8 (patch)
tree05b651e319c53446fd6f3e705531b129bb97264d
parente5b31c49e7b92eae3278f6253d99f03aac9093b7 (diff)
downloadpython-saharaclient-1a4098fe14c897b5a495575f02f9ff4793daccc8.tar.gz
Add newline to strings in stdout/stderr.write()
Change-Id: Idef39f0ed6fe20eac4f2944ddba2ca884600d82e
-rw-r--r--saharaclient/osc/v1/clusters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/saharaclient/osc/v1/clusters.py b/saharaclient/osc/v1/clusters.py
index d5fa60d..eb40834 100644
--- a/saharaclient/osc/v1/clusters.py
+++ b/saharaclient/osc/v1/clusters.py
@@ -657,7 +657,7 @@ class VerificationUpdateCluster(command.ShowOne):
print_status = 'started'
sys.stdout.write(
'Cluster "{cluster}" health verification has been '
- '{status}.'.format(cluster=parsed_args.cluster,
- status=print_status))
+ '{status}.\n'.format(cluster=parsed_args.cluster,
+ status=print_status))
return {}, {}