dabo Commit
Revision 4707
Date: 2008-11-23 10:23:50 -0800 (Sun, 23 Nov 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4707
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
Doh! Committed my pre-test version. This one actually works!
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2008-11-23 18:22:27 UTC (rev 4706)
+++ trunk/dabo/db/dCursorMixin.py 2008-11-23 18:23:50 UTC (rev 4707)
@@ -979,8 +979,8 @@
try:
if mem[fld] == val:
- # Value changed back to the original
memento value; delete the memento.
- del mem[fld]
+ # Value changed back to the
original memento value; delete the memento.
+ del mem[fld]
except KeyError:
pass
if mem:
@@ -1684,7 +1684,7 @@
# Make sure that this is a valid field
if not fld:
raise dException.FieldNotFoundException, _("No field
specified for seek()")
- if (fld not in self._records[0]) and (fld not it
self.VirtualFields):
+ if (fld not in self._records[0]) and (fld not in
self.VirtualFields):
raise dException.FieldNotFoundException,
_("Non-existent field '%s'") % fld
# Copy the specified field vals and their row numbers to a
list, and
_______________________________________________
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]