Uwe Grauer wrote: > dabo Commit > Revision 4222 > Date: 2008-07-02 11:54:51 -0700 (Wed, 02 Jul 2008) > Author: Uwe_Grauer > Trac: http://svn.dabodev.com/trac/dabo/changeset/4222 > > Changed: > U trunk/dabo/dApp.py > > Log: > Fixed error in dApp.closeConnections() > > > Diff: > Modified: trunk/dabo/dApp.py > =================================================================== > --- trunk/dabo/dApp.py 2008-07-02 18:39:21 UTC (rev 4221) > +++ trunk/dabo/dApp.py 2008-07-02 18:54:51 UTC (rev 4222) > @@ -890,7 +890,7 @@ > """Cleanup as the app is exiting.""" > for conn in self.dbConnections: > try: > - conn.close() > + self.dbConnections[conn].close() > except StandardError, e: > dabo.errorLog.write(_("Failed to close > connection. Error: %s") % e)
Is this hiding a problem, though? (Why was self.dbConnections[conn] resolving to a str object and not a dConnection object?) Paul _______________________________________________ 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]
