dabo Commit
Revision 3319
Date: 2007-08-21 15:29:46 -0700 (Tue, 21 Aug 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3319

Changed:
U   trunk/dabo/db/dCursorMixin.py

Log:
Added a check for the case where the AuxCursor is created so early in the 
process that the BackendObject has not yet been created.


Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py       2007-08-21 21:02:43 UTC (rev 3318)
+++ trunk/dabo/db/dCursorMixin.py       2007-08-21 22:29:46 UTC (rev 3319)
@@ -2044,7 +2044,8 @@
                        ac._autoPopulatePK = self._autoPopulatePK
                        ac._autoQuoteNames = self._autoQuoteNames
                        ac._dataStructure = self._dataStructure
-                       ac._encoding = self.Encoding
+                       if self.BackendObject:
+                               ac._encoding = self.Encoding
                        ac._isPrefCursor = self._isPrefCursor
                        ac._keyField = self._keyField
                        ac._table = self._table




_______________________________________________
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]

Reply via email to