comparison 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
comparison
equal deleted inserted replaced
7:79b0e059319d 8:c89f53103502
80 self.tags = pickle.load(f) 80 self.tags = pickle.load(f)
81 f.close() 81 f.close()
82 if os.path.exists(self.tag_locations_file): 82 if os.path.exists(self.tag_locations_file):
83 f = open(self.tag_locations_file) 83 f = open(self.tag_locations_file)
84 self.tag_locations = pickle.load(f) 84 self.tag_locations = pickle.load(f)
85 f.close()
85 else: 86 else:
86 self.tag_locations = tag_locations 87 self.tag_locations = tag_locations
87 pickle_atomic(self.tag_locations, self.tag_locations_file, 88 pickle_atomic(self.tag_locations, self.tag_locations_file,
88 self.meta_data_dir) 89 self.meta_data_dir)
89 90