[pywin32-checkins] /hgrepo/p/py/pywin32/pywin32: fix error message for errors parsi...
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2011-08-13 01:05:50
|
changeset 0cde6078b159 in /hgrepo/p/py/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgrepo/p/py/pywin32/pywin32?cmd=changeset;node=0cde6078b159 summary: fix error message for errors parsing a SERVICE_FAILURE_ACTIONS diffstat: win32/src/win32service.i | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 5984338a157e -r 0cde6078b159 win32/src/win32service.i --- a/win32/src/win32service.i Sun Jul 24 16:44:55 2011 -0400 +++ b/win32/src/win32service.i Sat Aug 13 11:05:08 2011 +1000 @@ -1584,7 +1584,7 @@ BOOL PyWinObject_AsSERVICE_FAILURE_ACTIONS(PyObject *obinfo, LPSERVICE_FAILURE_ACTIONSW psfa) { static char *sfa_keys[]={"ResetPeriod","RebootMsg","Command","Actions",0}; - static char *err="SERVICE_FAILURE_ACTIONS must be a dictionary containing {'ResetPeriod':int,'RebootMsg':unicode,'lpCommand':unicode,'Actions':sequence of 2 tuples(int,int)"; + static char *err="SERVICE_FAILURE_ACTIONS must be a dictionary containing {'ResetPeriod':int,'RebootMsg':unicode,'Command':unicode,'Actions':sequence of 2 tuples(int,int)"; PyObject *dummy_tuple, *obActions, *obRebootMsg, *obCommand; BOOL ret; ZeroMemory(psfa, sizeof(SERVICE_FAILURE_ACTIONSW)); |