|
|
@ -107,7 +107,6 @@ class Cdist: |
|
|
|
try: |
|
|
|
try: |
|
|
|
subprocess.check_call(*args, **kargs) |
|
|
|
subprocess.check_call(*args, **kargs) |
|
|
|
except subprocess.CalledProcessError: |
|
|
|
except subprocess.CalledProcessError: |
|
|
|
# FIXME: print out shell script! |
|
|
|
|
|
|
|
script_fd = open(script) |
|
|
|
script_fd = open(script) |
|
|
|
log.error("Code that raised the error:\n" + script_fd.read()) |
|
|
|
log.error("Code that raised the error:\n" + script_fd.read()) |
|
|
|
script_fd.close() |
|
|
|
script_fd.close() |
|
|
|