diff hg_delta_editor.py @ 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 1a5bb173170b
children 1f8854804795
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,