]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
dirnode.build_manifest: include node.list in the limiter, that's the most important...
authorBrian Warner <warner@allmydata.com>
Tue, 7 Oct 2008 20:19:29 +0000 (13:19 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 7 Oct 2008 20:19:29 +0000 (13:19 -0700)
src/allmydata/dirnode.py

index 3cc141679da28323a049217d6b8dd4eb5384ed10..c9366941af206e21b62dbd393b22e6550cbf8307 100644 (file)
@@ -480,7 +480,7 @@ class NewDirectoryNode:
     def _deep_traverse_dirnode(self, node, path, walker, found, limiter):
         # process this directory, then walk its children
         d = limiter.add(walker.add_node, node, path)
-        d.addCallback(lambda ignored: node.list())
+        d.addCallback(lambda ignored: limiter.add(node.list))
         d.addCallback(self._deep_traverse_dirnode_children, node, path,
                       walker, found, limiter)
         return d