dabo Commit
Revision 6893
Date: 2011-10-11 15:11:05 -0700 (Tue, 11 Oct 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6893
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
Removed dCursorMixin.formatForQuery as it's been commented out for a couple
years
now.
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2011-10-11 22:01:01 UTC (rev 6892)
+++ trunk/dabo/db/dCursorMixin.py 2011-10-11 22:11:05 UTC (rev 6893)
@@ -2328,7 +2328,6 @@
fieldType = [ds[1] for ds in self.DataStructure if
ds[0] == fld][0]
nms = bo.encloseNames(fld, aq)
retSql.append("%s%s = %s" % (tblPrefix, nms,
self.ParamPlaceholder))
- #thisVal =self.formatForQuery(new_val, fieldType)
retParams.append(new_val)
return (", ".join(retSql), tuple(retParams))
@@ -2400,14 +2399,6 @@
return ret
- def formatForQuery(self, val, fieldType=None):
- """Format any value for the backend"""
- ret = val
- if self.BackendObject:
- ret = self.BackendObject.formatForQuery(val, fieldType)
- return ret
-
-
def formatDateTime(self, val):
"""Format DateTime values for the backend"""
ret = val
_______________________________________________
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]