From b1a25a20a18c7ec13feaeaf83d8a1c65ff808215 Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Mon, 14 Mar 2016 15:26:34 +0100 Subject: [PATCH] Add newline to printed messages Change-Id: Iddfc63ac36a820e90e91f1582f5f766493df5ecc Closes-Bug: #1556873 --- fuelclient/commands/node.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fuelclient/commands/node.py b/fuelclient/commands/node.py index 006aab3e..6eb12697 100644 --- a/fuelclient/commands/node.py +++ b/fuelclient/commands/node.py @@ -12,6 +12,8 @@ # License for the specific language governing permissions and limitations # under the License. +import os + import six from fuelclient.commands import base @@ -299,7 +301,7 @@ class NodeAttributesDownload(NodeMixIn, base.BaseCommand): parsed_args.id, parsed_args.dir) self.app.stdout.write( "Attributes for node {0} were written to {1}" - .format(parsed_args.id, file_path)) + .format(parsed_args.id, file_path) + os.linesep) class NodeAttributesUpload(NodeMixIn, base.BaseCommand): @@ -319,4 +321,4 @@ class NodeAttributesUpload(NodeMixIn, base.BaseCommand): self.client.upload_attributes(parsed_args.id, parsed_args.dir) self.app.stdout.write( "Attributes for node {0} were uploaded." - .format(parsed_args.id)) + .format(parsed_args.id) + os.linesep)