dulwich-users team mailing list archive
-
dulwich-users team
-
Mailing list archive
-
Message #00362
[PATCH 0/6] close files
While testing on Windows, I got unable-to-remove-temp-dir errors. All
patches (other than the first two, which are small cleanups that I
encountered along the way) address these issues.
Tested on Python 2.5.4/Windows and Python 2.6.4/Ubuntu.
Tay Ray Chuan (6):
pack.PackIndex: de-duplicate __iter__ implementation
pack.FilePackIndex: use self._file instead of file parameter
pack.FilePackIndex: close mmap object
object_store.DiskObjectStore.move_in_thin_pack: close temp pack
test_object_store.PackBasedObjectStoreTests: close packs
test_pack.TestPack.test_copy: close packs
dulwich/object_store.py | 4 ++++
dulwich/pack.py | 10 ++++------
dulwich/tests/test_object_store.py | 5 +++++
dulwich/tests/test_pack.py | 4 ++++
4 files changed, 17 insertions(+), 6 deletions(-)
--
1.7.3.2.msysgit.0
Follow ups