dirnode manifest/stats: process more than one LIT file per tree; we were accidentally ignoring all but the first

This commit is contained in:
Brian Warner
2008-11-14 22:50:49 -07:00
parent fc7cd23bd1
commit d6a67cd566
2 changed files with 41 additions and 11 deletions

View File

@ -503,7 +503,8 @@ class NewDirectoryNode:
dl = [limiter.add(walker.enter_directory, parent, children)]
for name, (child, metadata) in children.iteritems():
verifier = child.get_verifier()
if verifier in found:
# allow LIT files (for which verifier==None) to be processed
if (verifier is not None) and (verifier in found):
continue
found.add(verifier)
childpath = path + [name]