##// END OF EJS Templates
manifest: help pytype to understant `writesubtrees`'s `getnode` type...
marmoute -
r52666:e2f1efa2 default
parent child Browse files
Show More
@@ -1407,7 +1407,9 b' class TreeManifest:'
1407 ld = m._lazydirs.get(d)
1407 ld = m._lazydirs.get(d)
1408 if ld:
1408 if ld:
1409 return ld[0]
1409 return ld[0]
1410 return m._dirs.get(d, emptytree)._node
1410 tree = m._dirs.get(d, emptytree)
1411 assert tree is not None # helps pytype
1412 return tree._node
1411
1413
1412 # let's skip investigating things that `match` says we do not need.
1414 # let's skip investigating things that `match` says we do not need.
1413 visit = match.visitchildrenset(self._dir[:-1])
1415 visit = match.visitchildrenset(self._dir[:-1])
General Comments 0
You need to be logged in to leave comments. Login now