From 9223663136f8b9a90d20eb58a9b67ae2f4cf1c5a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 14 Oct 2011 23:51:01 +0200 Subject: [PATCH] CLEANUP: return flat name, not python list to user Signed-off-by: Nico Schottelius --- lib/cdist/exec/local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cdist/exec/local.py b/lib/cdist/exec/local.py index 56c29cb7..59f1ee4d 100644 --- a/lib/cdist/exec/local.py +++ b/lib/cdist/exec/local.py @@ -40,7 +40,8 @@ class LocalScriptError(cdist.Error): self.script_content = script_content def __str__(self): - return "Local script execution failed: %s %s" % (self.script, self.command) + plain_command = " ".join(self.command) + return "Local script execution failed: %s %s" % (self.script, plain_command) class Local(object):