use *args not args :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
1a96f88656
commit
4fd8a16e6c
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ class Cdist:
|
||||||
# shutil.rmtree(self.temp_dir)
|
# shutil.rmtree(self.temp_dir)
|
||||||
|
|
||||||
def exit_error(self, *args):
|
def exit_error(self, *args):
|
||||||
log.error(args)
|
log.error(*args)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def shell_run_or_debug_fail(self, script, *args, **kargs):
|
def shell_run_or_debug_fail(self, script, *args, **kargs):
|
||||||
|
|
Loading…
Reference in a new issue