dabo Commit
Revision 3327
Date: 2007-08-23 09:32:50 -0700 (Thu, 23 Aug 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3327
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
This fixes a bug in which the new _cursor property of dBackend classes could be
changed to point to the AuxCursor instead of the primary cursor.
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2007-08-23 16:31:28 UTC (rev 3326)
+++ trunk/dabo/db/dCursorMixin.py 2007-08-23 16:32:50 UTC (rev 3327)
@@ -2056,7 +2056,7 @@
def _setBackendObject(self, obj):
self.__backend = obj
- if obj:
+ if obj and obj._cursor is None:
obj._cursor = self
if self.__auxCursor:
self.__auxCursor.__backend = obj
_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]