From 0279d16257fb4bc61da1455886d126f25e26ef34 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 18 Jan 2008 17:39:20 +0000 Subject: [PATCH] use helper method utils.popen instead of os.popen3 --- qaapi/qa/modules/plc/start.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/qaapi/qa/modules/plc/start.py b/qaapi/qa/modules/plc/start.py index f1b3038..65bece6 100644 --- 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 -- 2.47.0