git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5d5c5
)
minor updates
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Apr 2008 00:38:08 +0000
(
00:38
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Apr 2008 00:38:08 +0000
(
00:38
+0000)
qaapi/qa/utils.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/utils.py
b/qaapi/qa/utils.py
index
40eb086
..
00dbb7e
100644
(file)
--- a/
qaapi/qa/utils.py
+++ b/
qaapi/qa/utils.py
@@
-17,11
+17,12
@@
def popen(command, fatal=True, verbose = False):
header(command, False)
(stdin, stdout, stderr) = os.popen3(command)
output = stdout.readlines()
+ errors = stderr.readlines()
print >> logfile, "+ "+command
print >> logfile, "".join(output).strip()
# filter output generated by set x
remove_set_x = lambda line: not line.startswith("+")
- errors = filter(remove_set_x,
stderr.readlines()
)
+ errors = filter(remove_set_x,
errors
)
if fatal and errors:
raise Exception, "".join(errors)