Update of /cvsroot/webware/Webware/MiddleKit/Run
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2501/Run
Modified Files:
SQLObjectStore.py
Log Message:
Fix MiddleKit to support Python's native datetime module since MySQLdb 1.2
now returns instances from that rather than egenix's mx.DateTime.
MiddleKit accepts either and even both.
Index: SQLObjectStore.py
===================================================================
RCS file: /cvsroot/webware/Webware/MiddleKit/Run/SQLObjectStore.py,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** SQLObjectStore.py 19 Feb 2005 22:47:13 -0000 1.73
--- SQLObjectStore.py 20 Feb 2005 02:25:49 -0000 1.74
***************
*** 930,934 ****
# We often get "YYYY-MM-DD HH:MM:SS" from mx's DateTime
# so we split on space and take the first value to
! # work around that.
if 0:
print
--- 930,935 ----
# We often get "YYYY-MM-DD HH:MM:SS" from mx's DateTime
# so we split on space and take the first value to
! # work around that. This works fine with Python's
! # date class (does no harm).
if 0:
print
|