Update of /cvsroot/pywin32/pywin32/com/win32comext/adsi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1486/com/win32comext/adsi/src
Modified Files:
PyADSIUtil.cpp
Log Message:
Rationalize pywin32 time api and use of it, including removal of support
for MS_WINCE, on the road to optionally using timezone-aware datetime
objects.
Index: PyADSIUtil.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/adsi/src/PyADSIUtil.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** PyADSIUtil.cpp 4 Aug 2006 08:33:44 -0000 1.6
--- PyADSIUtil.cpp 8 Jan 2009 02:56:17 -0000 1.7
***************
*** 212,216 ****
else if (PyInt_Check(val))
dwType = ADSTYPE_INTEGER;
! else if (PyTime_Check(val))
dwType = ADSTYPE_UTC_TIME;
else {
--- 212,216 ----
else if (PyInt_Check(val))
dwType = ADSTYPE_INTEGER;
! else if (PyWinTime_Check(val))
dwType = ADSTYPE_UTC_TIME;
else {
|