From 22491fe14153609c147e4433a84d1bb671cb9cbb Mon Sep 17 00:00:00 2001 From: mpeterv Date: Sat, 2 Apr 2016 13:41:04 +0300 Subject: [PATCH] run(): print command as string on error --- hererocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hererocks.py b/hererocks.py index f9c08a8..f486689 100755 --- a/hererocks.py +++ b/hererocks.py @@ -107,7 +107,7 @@ def run(*args, **kwargs): sys.stdout.write(exception.output.decode("UTF-8")) sys.exit("Error: got exitcode {} from command {}".format( - exception.returncode, args)) + exception.returncode, " ".join(args))) if opts.verbose and capture: sys.stdout.write(output.decode("UTF-8"))