Show More
@@ -196,11 +196,14 b' class phasecache(object):' | |||
|
196 | 196 | return |
|
197 | 197 | f = self.opener('phaseroots', 'w', atomictemp=True) |
|
198 | 198 | try: |
|
199 | self._write(f) | |
|
200 | finally: | |
|
201 | f.close() | |
|
202 | ||
|
203 | def _write(self, fp): | |
|
199 | 204 |
|
|
200 | 205 |
|
|
201 |
|
|
|
202 | finally: | |
|
203 | f.close() | |
|
206 | fp.write('%i %s\n' % (phase, hex(h))) | |
|
204 | 207 | self.dirty = False |
|
205 | 208 | |
|
206 | 209 | def _updateroots(self, phase, newroots): |
General Comments 0
You need to be logged in to leave comments.
Login now