Browse Source

Remove PackData.__del__ as it causes reference loops; use PackData.close
instead.

Jelmer Vernooij 15 years ago
parent
commit
ba0547e771
1 changed files with 0 additions and 3 deletions
  1. 0 3
      dulwich/pack.py

+ 0 - 3
dulwich/pack.py

@@ -709,9 +709,6 @@ class PackData(object):
     def close(self):
         self._file.close()
 
-    def __del__(self):
-        self.close()
-
     def _get_size(self):
         if self._size is not None:
             return self._size