Show More
@@ -234,9 +234,7 b' class fncacheopener(object):' | |||||
234 | self.entries = None |
|
234 | self.entries = None | |
235 |
|
235 | |||
236 | def loadfncache(self): |
|
236 | def loadfncache(self): | |
237 | self.entries = set() |
|
237 | self.entries = set(fncache(self.opener)) | |
238 | for f in fncache(self.opener): |
|
|||
239 | self.entries.add(f) |
|
|||
240 |
|
238 | |||
241 | def __call__(self, path, mode='r', *args, **kw): |
|
239 | def __call__(self, path, mode='r', *args, **kw): | |
242 | if mode not in ('r', 'rb') and path.startswith('data/'): |
|
240 | if mode not in ('r', 'rb') and path.startswith('data/'): |
General Comments 0
You need to be logged in to leave comments.
Login now