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:
90e1acc
)
use helper method utils.popen instead of os.popen3
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:39:20 +0000
(17:39 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:39:20 +0000
(17:39 +0000)
qaapi/qa/modules/plc/start.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/modules/plc/start.py
b/qaapi/qa/modules/plc/start.py
index
f1b3038
..
65bece6
100644
(file)
--- a/
qaapi/qa/modules/plc/start.py
+++ b/
qaapi/qa/modules/plc/start.py
@@
-26,8
+26,6
@@
class start(Test):
if self.config.verbose:
utils.header(full_command)
- (stdin, stdout, stderr) = os.popen3(full_command)
- self.errors = stderr.readlines()
- if self.errors: raise Exception, "\n".join(self.errors)
-
- return 1
+ (stdout, stderr) = utils.popen(full_command)
+
+ return 1