use *args not args :-)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-08 14:52:42 +02:00
parent 1a96f88656
commit 4fd8a16e6c

View file

@ -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):