From 0e1bc2e786de67023ad9359fb2e906de1248c8c7 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 11 Mar 2019 12:02:12 -0400 Subject: [PATCH] As for the previous commit. --- src/allmydata/frontends/magic_folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 6af494d8e..3b16eb412 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -1830,7 +1830,7 @@ class Downloader(QueueMixin, WriteFileMixin): with SCAN_REMOTE_DMD(nickname=nickname).context(): d = DeferredContext(dirnode.list()) def scan_listing(listing_map): - for encoded_relpath_u in listing_map.keys(): + for encoded_relpath_u in listing_map: relpath_u = magicpath.magic2path(encoded_relpath_u) file_node, metadata = listing_map[encoded_relpath_u]