use *args not args :-)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 13 years ago
parent 1a96f88656
commit 4fd8a16e6c
  1. 4
      bin/cdist

@ -93,8 +93,8 @@ class Cdist:
print("I should cleanup " + self.temp_dir) print("I should cleanup " + self.temp_dir)
# 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…
Cancel
Save