From fbb9df178d7b07e84997347bd5e9de4ce95e0ccb Mon Sep 17 00:00:00 2001 From: Claudio Klingler Date: Sun, 1 Oct 2017 13:02:07 +0200 Subject: [PATCH] terminate your log messages by newline .. for better handling in scripting environments --- junit_conversor/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/junit_conversor/__main__.py b/junit_conversor/__main__.py index e7011ee..da0badc 100644 --- a/junit_conversor/__main__.py +++ b/junit_conversor/__main__.py @@ -6,7 +6,7 @@ def main(): flake8_file, destination_file = sys.argv[1:] _convert(flake8_file, destination_file) - sys.stdout.write("File %s was created successfully" % destination_file) + print("File %s was created successfully" % destination_file) sys.exit(0)