Rev 1378: Attempt to close database. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4

Jelmer Vernooij jelmer at samba.org
Sun Jun 29 12:59:36 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/0.4

------------------------------------------------------------
revno: 1378
revision-id: jelmer at samba.org-20080629115928-lys5hr593r1430fx
parent: jelmer at samba.org-20080629035727-vnkhndfi2p6ha9o1
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sun 2008-06-29 13:59:28 +0200
message:
  Attempt to close database.
modified:
  cache.py                       cache.py-20070520185908-qbtlcet08bllgs0f-1
=== modified file 'cache.py'
--- a/cache.py	2008-06-06 17:19:53 +0000
+++ b/cache.py	2008-06-29 11:59:28 +0000
@@ -90,3 +90,6 @@
     def mutter(self, text, *args):
         if "cache" in debug.debug_flags:
             mutter(text, *args)
+
+    def __del__(self):
+        self.cachedb.close()




More information about the bazaar-commits mailing list