Rverting manually (limited connectivity) to original.

Will be fixed in a separate branch.
This commit is contained in:
Darko Poljak 2016-03-18 12:27:23 +01:00
parent e937a939ad
commit 3ae042f2cd

View file

@ -195,7 +195,7 @@ class Local(object):
except subprocess.CalledProcessError:
raise cdist.Error("Command failed: " + " ".join(command))
except OSError as error:
raise cdist.Error(" ".join((str(x) for x in error.args)))
raise cdist.Error(" ".join(*args) + ": " + error.args[1])
finally:
if message_prefix:
message.merge_messages()