From 440b7ccc8837638d5906c1e7d76165cb9436def0 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 30 Jul 2014 15:11:24 +0200 Subject: [PATCH] Add a space to the output of the method log_error Before this change: - ./tuskar/tools/config/check_uptodate.sh: L23 After this change: - ./tuskar/tools/config/check_uptodate.sh : L23 Benefit: I can double click the filename in my terminal and then the filename will be copied into the clipboard without the leading ':'. Change-Id: I6a2ef2105d3779118328fb36bd11b435812c406d --- bashate/bashate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashate/bashate.py b/bashate/bashate.py index db315b9..3c9643b 100644 --- a/bashate/bashate.py +++ b/bashate/bashate.py @@ -113,7 +113,7 @@ class BashateRun(object): def log_error(self, error, line, filename, filelineno): print("%s: '%s'" % (error, line.rstrip('\n'))) - print(" - %s: L%s" % (filename, filelineno)) + print(" - %s : L%s" % (filename, filelineno)) def check_files(self, files, verbose): in_multiline = False