aboutsummaryrefslogtreecommitdiff
path: root/steuermann/run.py
diff options
context:
space:
mode:
authorsienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-03-07 12:23:44 -0500
committersienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-03-07 12:23:44 -0500
commitde5f2c42f5100c113106e660315a50434e383e7e (patch)
treea7d9d329e50ba0c37ff58465f9236fa35b21fbd3 /steuermann/run.py
parent47fbf94c8d47fdfb83364fd4f5c6732ecc78ccd6 (diff)
downloadsteuermann-de5f2c42f5100c113106e660315a50434e383e7e.tar.gz
checkpoint
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@561 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'steuermann/run.py')
-rw-r--r--steuermann/run.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/steuermann/run.py b/steuermann/run.py
index 77db2f1..36f7f59 100644
--- a/steuermann/run.py
+++ b/steuermann/run.py
@@ -128,6 +128,7 @@ class runner(object):
table=node.table,
cmd=node.cmd,
node=node.name,
+ w_node=node.name.replace("/","_").replace(":","_"),
runname=run_name,
)
@@ -328,9 +329,11 @@ def log_traceback() :
# strings. I want each line of output logged separately so the log
# file remains easy to process, so I reverse engineered this out of
# the logging module.
+ print "LOG TRACEBACK:"
try:
etype, value, tb = sys.exc_info()
tbex = traceback.extract_tb( tb )
+ print tbex
for filename, lineno, name, line in tbex :
print '%s:%d, in %s'%(filename,lineno,name)
if line: