dabo Commit
Revision 4193
Date: 2008-06-26 07:15:03 -0700 (Thu, 26 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4193

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

Log:
Fixed an error when using a bizobj without a data connection.


Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py   2008-06-26 14:15:01 UTC (rev 4192)
+++ trunk/dabo/biz/dBizobj.py   2008-06-26 14:15:03 UTC (rev 4193)
@@ -77,6 +77,7 @@
                self._newChildOnNew = False
                self._fillLinkFromParent = False
                self.exitScan = False
+               self.dbapiCursorClass = None
 
                ##########################################
                ### referential integrity stuff ####
@@ -146,6 +147,8 @@
                if errMsg:
                        raise dException.dException, errMsg
 
+               if not self.dbapiCursorClass:
+                       return
                cursorClass = self._getCursorClass(self.dCursorMixinClass,
                                self.dbapiCursorClass)
 




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

Reply via email to