From: David Stainton Date: Sat, 29 Aug 2015 11:29:47 +0000 (+0200) Subject: more debugging print statements X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/biz/?a=commitdiff_plain;h=e4f194b727b9f3f06aa59141cdfb0ef9d76c4134;p=tahoe-lafs%2Ftahoe-lafs.git more debugging print statements --- diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 7c43ea5a..44def8c9 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -460,16 +460,17 @@ class Downloader(QueueMixin): self._download_scan_batch[name] = [(file_node, metadata)] def _scan_remote(self, nickname, dirnode): + print "------------------_scan_remote----------------------" d = dirnode.list() def scan_listing(listing_map): for name in listing_map.keys(): file_node, metadata = listing_map[name] local_version = self._get_local_latest(name) remote_version = metadata.get('version', None) - #print "%r has local version %r, remote version %r" % (name, local_version, remote_version) + print "%r has local version %r, remote version %r" % (name, local_version, remote_version) if local_version is None or remote_version is None or local_version < remote_version: + print "added to download queue\n" self._append_to_batch(name, file_node, metadata) - d.addCallback(scan_listing) return d