Changeset 4224
- Timestamp:
- 07/02/2008 12:15:11 PM (2 months ago)
- Files:
-
- trunk/dabo/dApp.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/dApp.py
r4222 r4224 889 889 def closeConnections(self): 890 890 """Cleanup as the app is exiting.""" 891 for conn in self.dbConnections: 892 try: 893 self.dbConnections[conn].close() 894 except StandardError, e: 895 dabo.errorLog.write(_("Failed to close connection. Error: %s") % e) 896 897 891 for key, conn in self.dbConnections.items(): 892 conn.close() 893 del self.dbConnections[key] 894 895 898 896 def addConnectInfo(self, ci, name=None): 899 897 if name is None:
