dabo Commit
Revision 2321
Date: 2006-10-09 15:12:01 -0700 (Mon, 09 Oct 2006)
Author: paul
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
This fixes a problem I introduced a few weeks back.
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2006-10-09 18:34:16 UTC (rev 2320)
+++ trunk/dabo/db/dCursorMixin.py 2006-10-09 22:12:01 UTC (rev 2321)
@@ -314,7 +314,8 @@
# See if we already have the information from a prior
query
if len(self._types.keys()) == 0:
# Try to get it from the description
- dsc =
self.BackendObject.getStructureDescription(self)
+ dsc =
self.BackendObject.getFieldInfoFromDescription(self.FieldDescription)
+
if dsc:
typDict = {"I": int, "C": unicode, "L":
bool, "T": datetime.datetime, "D": datetime.date,
"M": unicode, "N":
float}
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev