From 2b271f7e3070acbd91b5af7f82140a116ae5dd72 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 14 May 2010 21:52:26 +0000 Subject: [PATCH] Fix regression introduced by r81154 (Issue #5099, subprocess destructor) --- Lib/subprocess.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 4a894fe5876..115d07daf10 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -908,9 +908,9 @@ class Popen(object): def _internal_poll(self, _deadstate=None, - _WaitForSingleObject=WaitForSingleObject, - _WAIT_OBJECT_0=WAIT_OBJECT_0, - _GetExitCodeProcess=GetExitCodeProcess): + _WaitForSingleObject=_subprocess.WaitForSingleObject, + _WAIT_OBJECT_0=_subprocess.WAIT_OBJECT_0, + _GetExitCodeProcess=_subprocess.GetExitCodeProcess): """Check if child process has terminated. Returns returncode attribute.