replace CdistError with cdist.Error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
326ff67283
commit
2c0a7adf74
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,6 @@ def shell_run_or_debug_fail(script, *args, remote_prefix=False, **kargs):
|
|||
except OSError as error:
|
||||
raise cdist.Error(" ".join(*args) + ": " + error.args[1])
|
||||
|
||||
|
||||
def run_or_fail(*args, remote_prefix=False, **kargs):
|
||||
if remote_prefix:
|
||||
args[0][:0] = remote_prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue