Show More
@@ -475,6 +475,8 b' class fncache(object):' | |||||
475 | def write(self, tr): |
|
475 | def write(self, tr): | |
476 | if self._dirty: |
|
476 | if self._dirty: | |
477 | assert self.entries is not None |
|
477 | assert self.entries is not None | |
|
478 | self.entries = self.entries | self.addls | |||
|
479 | self.addls = set() | |||
478 | tr.addbackup('fncache') |
|
480 | tr.addbackup('fncache') | |
479 | fp = self.vfs('fncache', mode='wb', atomictemp=True) |
|
481 | fp = self.vfs('fncache', mode='wb', atomictemp=True) | |
480 | if self.entries: |
|
482 | if self.entries: |
General Comments 0
You need to be logged in to leave comments.
Login now