[pywin32-checkins] pywin32/Pythonwin win32notify.cpp,1.6,1.7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2008-03-05 16:00:40
|
Update of /cvsroot/pywin32/pywin32/Pythonwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24128 Modified Files: win32notify.cpp Log Message: Use Warning subclass in PyErr_Warn Index: win32notify.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32notify.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** win32notify.cpp 17 Feb 2008 01:39:35 -0000 1.6 --- win32notify.cpp 5 Mar 2008 16:00:42 -0000 1.7 *************** *** 349,353 **** PyObject *result = Python_do_callback(method, args); if (result==NULL) { ! PyErr_Warn(ui_module_error, "Exception in OnNotify() handler"); gui_print_error(); } --- 349,353 ---- PyObject *result = Python_do_callback(method, args); if (result==NULL) { ! PyErr_Warn(PyExc_Warning, "Exception in OnNotify() handler"); gui_print_error(); } |