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