From 3ae042f2cd9d468ce607344fe673cd90c0036d55 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Fri, 18 Mar 2016 12:27:23 +0100 Subject: [PATCH] Rverting manually (limited connectivity) to original. Will be fixed in a separate branch. --- cdist/exec/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/exec/local.py b/cdist/exec/local.py index 5aadce0c..dc7c02bc 100644 --- a/cdist/exec/local.py +++ b/cdist/exec/local.py @@ -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()