CLEANUP: return flat name, not python list to user

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-14 23:51:01 +02:00
parent 1e31721ad9
commit 9223663136

View file

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