changeset 142:98bccf81db4d

win32.call() now trusts its own case.time_started
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 25 May 2011 00:27:12 +0100
parents dfde0f5e0984
children 92f76baebcc6
files win32.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/win32.py	Tue May 24 23:53:43 2011 +0100
+++ b/win32.py	Wed May 25 00:27:12 2011 +0100
@@ -491,7 +491,7 @@
 	else:
 		handles = case.process._handle, stdin
 		if case.maxwalltime:
-			time_end = clock() + case.maxwalltime
+			time_end = case.time_started + case.maxwalltime
 			while case.process.poll() is None:
 				remaining = time_end - clock()
 				if remaining > 0: