mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-27 14:50:03 +00:00
Minor simplification.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
52f27dfdc6
commit
a41cf014d1
@ -638,7 +638,7 @@ class Downloader(QueueMixin, WriteFileMixin):
|
|||||||
d2 = defer.succeed(None)
|
d2 = defer.succeed(None)
|
||||||
for dir_name in dirmap:
|
for dir_name in dirmap:
|
||||||
(dirnode, metadata) = dirmap[dir_name]
|
(dirnode, metadata) = dirmap[dir_name]
|
||||||
if scan_self is True or dirnode.get_readonly_uri() != self._upload_readonly_dircap:
|
if scan_self or dirnode.get_readonly_uri() != self._upload_readonly_dircap:
|
||||||
d2.addCallback(lambda ign, dir_name=dir_name, dirnode=dirnode:
|
d2.addCallback(lambda ign, dir_name=dir_name, dirnode=dirnode:
|
||||||
self._scan_remote_dmd(dir_name, dirnode, scan_batch))
|
self._scan_remote_dmd(dir_name, dirnode, scan_batch))
|
||||||
def _err(f, dir_name=dir_name):
|
def _err(f, dir_name=dir_name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user