cat only locally :-)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-06 13:39:08 +02:00
parent 278c379e07
commit eea6a38f33

View file

@ -45,6 +45,7 @@ def shell_run_or_debug_fail(script, *args, remote_prefix=False, **kargs):
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
log.error("Code that raised the error:\n") log.error("Code that raised the error:\n")
if remote_prefix:
run_or_fail(["cat", script], remote_prefix=remote_prefix) run_or_fail(["cat", script], remote_prefix=remote_prefix)
else: else: