dabo Commit
Revision 3658
Date: 2007-11-11 13:25:36 -0800 (Sun, 11 Nov 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3658

Changed:
U   trunk/dabo/biz/dBizobj.py

Log:
Added 'self._connection' as an alias to 'self._cursorFactory'. Normally the 
only time you would address this in code, you are thinking of connection, not a 
cursor factor (which is the primary internal use of the value).


Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py   2007-11-11 21:21:03 UTC (rev 3657)
+++ trunk/dabo/biz/dBizobj.py   2007-11-11 21:25:36 UTC (rev 3658)
@@ -100,7 +100,7 @@
                for those cases where connections are created later, use this 
method to
                establish the connection used by the bizobj.
                """
-               self._cursorFactory = conn
+               self._cursorFactory = self._connection = conn
                if conn:
                        # Base cursor class : the cursor class from the db api
                        self.dbapiCursorClass = 
self._cursorFactory.getDictCursorClass()




_______________________________________________
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