return full command only in local mode

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-15 00:10:35 +02:00
parent 85c9c3e283
commit 3f76f03239

View file

@ -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):