[pywin32-checkins] pywin32/win32/Lib win32serviceutil.py,1.19,1.20
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-06-17 07:31:03
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13201 Modified Files: win32serviceutil.py Log Message: Avoid opening a service handle we don't need and never close. Index: win32serviceutil.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32serviceutil.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** win32serviceutil.py 30 May 2005 23:57:13 -0000 1.19 --- win32serviceutil.py 17 Jun 2005 07:30:54 -0000 1.20 *************** *** 341,345 **** """Waits for the service to return the specified status. You should have already requested the service to enter that state""" - hscm = win32service.OpenSCManager(machine,None,win32service.SC_MANAGER_ALL_ACCESS) for i in range(waitSecs*4): now_status = QueryServiceStatus(serviceName)[1] --- 341,344 ---- |