##// END OF EJS Templates
store: create set directly from iterable
Martin Geisler -
r8480:0e91bcaa default
parent child Browse files
Show More
@@ -234,9 +234,7 b' class fncacheopener(object):'
234 234 self.entries = None
235 235
236 236 def loadfncache(self):
237 self.entries = set()
238 for f in fncache(self.opener):
239 self.entries.add(f)
237 self.entries = set(fncache(self.opener))
240 238
241 239 def __call__(self, path, mode='r', *args, **kw):
242 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