dabo Commit
Revision 7222
Date: 2012-08-10 13:49:31 -0700 (Fri, 10 Aug 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7222
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
Fixed problem with cloneRecord() and CURSOR_FIELD_TYPES_CORRECTED.
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2012-08-09 23:45:41 UTC (rev 7221)
+++ trunk/dabo/db/dCursorMixin.py 2012-08-10 20:49:31 UTC (rev 7222)
@@ -1447,10 +1447,11 @@
kf = (kf,)
for fld in kf:
rec[fld] = blank[fld]
- try:
- del rec[kons.CURSOR_TMPKEY_FIELD]
- except KeyError:
- pass
+ for delfld in (kons.CURSOR_TMPKEY_FIELD,
kons.CURSOR_FIELD_TYPES_CORRECTED):
+ try:
+ del rec[delfld]
+ except KeyError:
+ pass
self.appendDataSet((rec,))
_______________________________________________
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]