##// END OF EJS Templates
treemanifests: make _loadchildrensetlazy just call _loadlazy...
spectral -
r40018:19103e68 default
parent child Browse files
Show More
@@ -720,15 +720,9 b' class treemanifest(object):'
720 return None
720 return None
721
721
722 todel = []
722 todel = []
723 loadlazy = self._loadlazy
723 for k in visit:
724 for k in visit:
724 kslash = k + '/'
725 loadlazy(k + '/')
725 ld = self._lazydirs.get(kslash)
726 if ld:
727 path, node, readsubtree = ld
728 self._dirs[kslash] = readsubtree(path, node)
729 todel.append(kslash)
730 for kslash in todel:
731 del self._lazydirs[kslash]
732 return visit
726 return visit
733
727
734 def __len__(self):
728 def __len__(self):
General Comments 0
You need to be logged in to leave comments. Login now