[Pywinauto-users] Re: CloseClick; force termination; locate window by coordinates
Status: Alpha
Brought to you by:
mcmahon_m
From: Sergey A. L. <se...@op...> - 2006-04-16 20:38:18
|
Mark Mc Mahon wrote: >> I'd like to offer a tiny patch and ask two questions. The patch is for >> CloseClick() method not to complain about unassigned variable. The >> variable "waited" is not used, but it looks like there are plans for it :-). > > I hope this is a warning from pylint/pychecker rather than a runtime error! > In fact the watied variable should be going away! (changed from adding > the time and counting to measuring it. I haven't looked at the patch > yet - I will on Monday. Actually, it's a runtime error. It doesn't happen often because the loop condition is usually met right away. But I'm testing a slow application :-). Best, Sergey. |