dabo Commit
Revision 6946
Date: 2011-10-27 17:56:41 -0700 (Thu, 27 Oct 2011)
Author: Johnf
Trac: http://trac.dabodev.com/changeset/6946
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
dtStrings was missing a valid type
"<type 'datetime.date'>"
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2011-10-28 00:11:52 UTC (rev 6945)
+++ trunk/dabo/db/dCursorMixin.py 2011-10-28 00:56:41 UTC (rev 6946)
@@ -1038,7 +1038,7 @@
# native field type is not. Ignore these. NOTE:
we have to deal with the
# string representation of these classes, as
there is no primitive for either
# 'DateTime' or 'Date'.
- dtStrings = ("<type 'DateTime'>", "<type
'Date'>", "<type 'datetime.datetime'>")
+ dtStrings = ("<type 'DateTime'>", "<type
'Date'>", "<type 'datetime.datetime'>","<type 'datetime.date'>")
if ustr(fldType) in dtStrings and
isinstance(val, basestring):
ignore = True
elif issubclass(fldType, basestring) and
isinstance(val, basestring):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]