Created
May 1, 2009 00:35
-
-
Save defunkt/104785 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r dcb334be7daa dulwich/pack.py | |
--- a/dulwich/pack.py Thu Apr 30 13:54:33 2009 -0700 | |
+++ b/dulwich/pack.py Thu Apr 30 18:45:21 2009 -0400 | |
@@ -500,8 +500,10 @@ | |
offset += total_size | |
if progress: | |
progress(i, num) | |
- finally: | |
map.close() | |
+ except: | |
+ map.close() | |
+ raise | |
def iterentries(self, ext_resolve_ref=None, progress=None): | |
found = {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment