From bd320b672914aa0dad90905fe4f98bc884fc1b9e Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Tue, 17 Feb 2015 12:20:24 +0000 Subject: [PATCH] Tests - Remove commented code --- test/basetest/utils.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/basetest/utils.py b/test/basetest/utils.py index c0781aefb..f5fafe002 100644 --- a/test/basetest/utils.py +++ b/test/basetest/utils.py @@ -123,12 +123,8 @@ def _queue_output(arguments, pidq, outputq): return - # NOTE If for whatever reason pid is None at the time of access, use the - # following line instead - # pid = wait_condition(lambda: proc.pid) - pid = proc.pid - # Put the PID in the queue for main process to know - pidq.put(pid) + # Put the PID in the queue for main process to know. + pidq.put(proc.pid) # Send input and wait for finish out, err = proc.communicate(input)