projects
/
sawsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1607c
)
Save CommandError in failed InvokeJobs.
author
W. Trevor King
<wking@drexel.edu>
Sun, 24 Oct 2010 14:16:42 +0000
(10:16 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sun, 24 Oct 2010 14:16:42 +0000
(10:16 -0400)
pysawsim/manager/__init__.py
patch
|
blob
|
history
diff --git
a/pysawsim/manager/__init__.py
b/pysawsim/manager/__init__.py
index 4d50a03c102a8da4cf813d6b08a36d2d86aa23d3..acf2af6509078750286fd86b426c28a7bd9f8b58 100644
(file)
--- a/
pysawsim/manager/__init__.py
+++ b/
pysawsim/manager/__init__.py
@@
-158,7
+158,7
@@
class InvokeJob (Job):
self.data = {'stdout':stdout, 'stderr':stderr}
except invoke.CommandError, e:
self.status = e
- self.data = {'stdout':e.stdout, 'stderr':e.stderr}
+ self.data = {'stdout':e.stdout, 'stderr':e.stderr
, 'error':e
}
class JobManager (object):