dabo Commit
Revision 6270
Date: 2010-12-19 04:30:26 -0800 (Sun, 19 Dec 2010)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6270
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
Small fix in field type recognition method.
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2010-12-18 22:58:01 UTC (rev 6269)
+++ trunk/dabo/db/dCursorMixin.py 2010-12-19 12:30:26 UTC (rev 6270)
@@ -916,8 +916,7 @@
typ = None
if typ:
try:
- ret = {"C": unicode, "D": datetime.date, "B":
bool, "G": long,
- "N": float, "M": unicode, "I": int,
"T": datetime.datetime}[typ]
+ ret = dabo.db.getPythonType(typ)
except KeyError:
ret = None
return ret
_______________________________________________
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]