From ffeaa3d06bd8736e51a0074bb3c73c5998b8957d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 19 Aug 2013 11:45:43 +0200 Subject: [PATCH] fix old bug / joining wrong args Signed-off-by: Nico Schottelius --- cdist/exec/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/exec/remote.py b/cdist/exec/remote.py index 01f028a9..dfeccd94 100644 --- a/cdist/exec/remote.py +++ b/cdist/exec/remote.py @@ -149,6 +149,6 @@ class Remote(object): except subprocess.CalledProcessError: raise cdist.Error("Command failed: " + " ".join(command)) except OSError as error: - raise cdist.Error(" ".join(*args) + ": " + error.args[1]) + raise cdist.Error(" ".join(command) + ": " + error.args[1]) except UnicodeDecodeError: raise DecodeError(command)