[pywin32-checkins] pywin32/win32/Lib win32serviceutil.py, 1.24, 1.25
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-06-30 04:37:51
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22408/win32/Lib Modified Files: win32serviceutil.py Log Message: In SmartOpenService, use win32service.GetServiceKeyName in place of _GetServiceShortName Index: win32serviceutil.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32serviceutil.py,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** win32serviceutil.py 10 Jan 2006 00:18:24 -0000 1.24 --- win32serviceutil.py 30 Jun 2007 04:37:52 -0000 1.25 *************** *** 79,86 **** winerror.ERROR_INVALID_NAME]: raise ! name = _GetServiceShortName(name) ! if name is None: ! raise ! return win32service.OpenService(hscm, name, access) def LocateSpecificServiceExe(serviceName): --- 79,84 ---- winerror.ERROR_INVALID_NAME]: raise ! name = win32service.GetServiceKeyName(hscm, name) ! return win32service.OpenService(hscm, name, access) def LocateSpecificServiceExe(serviceName): |