fix old bug / joining wrong args
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
a76d8bb517
commit
ffeaa3d06b
1 changed files with 1 additions and 1 deletions
|
@ -149,6 +149,6 @@ class Remote(object):
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
raise cdist.Error("Command failed: " + " ".join(command))
|
raise cdist.Error("Command failed: " + " ".join(command))
|
||||||
except OSError as error:
|
except OSError as error:
|
||||||
raise cdist.Error(" ".join(*args) + ": " + error.args[1])
|
raise cdist.Error(" ".join(command) + ": " + error.args[1])
|
||||||
except UnicodeDecodeError:
|
except UnicodeDecodeError:
|
||||||
raise DecodeError(command)
|
raise DecodeError(command)
|
||||||
|
|
Loading…
Reference in a new issue