CLEANUP: return flat name, not python list to user
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
1e31721ad9
commit
9223663136
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ class LocalScriptError(cdist.Error):
|
||||||
self.script_content = script_content
|
self.script_content = script_content
|
||||||
|
|
||||||
def __str__(self):
|
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):
|
class Local(object):
|
||||||
|
|
Loading…
Reference in a new issue