From 3f76f03239b6fd9aca43e5a1b0714994ae0fb77b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 15 Oct 2011 00:10:35 +0200 Subject: [PATCH] return full command only in local mode Signed-off-by: Nico Schottelius --- lib/cdist/exec/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdist/exec/local.py b/lib/cdist/exec/local.py index ad31a909..6157c0bc 100644 --- a/lib/cdist/exec/local.py +++ b/lib/cdist/exec/local.py @@ -41,7 +41,7 @@ class LocalScriptError(cdist.Error): def __str__(self): plain_command = " ".join(self.command) - return "Local script execution failed: %s %s" % (self.script, plain_command) + return "Local script execution failed: %s" % plain_command class Local(object):