changeset 8:c89f53103502

Another fix for Win32 compat.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Fri, 03 Oct 2008 09:44:46 -0500
parents 79b0e059319d
children 9eb6bf2be1e7
files hg_delta_editor.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hg_delta_editor.py
+++ b/hg_delta_editor.py
@@ -82,6 +82,7 @@ class HgChangeReceiver(delta.Editor):
         if os.path.exists(self.tag_locations_file):
             f = open(self.tag_locations_file)
             self.tag_locations = pickle.load(f)
+            f.close()
         else:
             self.tag_locations = tag_locations
         pickle_atomic(self.tag_locations, self.tag_locations_file,