From: David Stainton Date: Thu, 30 Jul 2015 20:57:29 +0000 (-0700) Subject: Remove old unused append to deque function from downloader X-Git-Url: https://git.rkrishnan.org/components/%22news.html/pb.xhtml?a=commitdiff_plain;h=0abfc33fd2fed6fda04148887612fe478de49bcc;p=tahoe-lafs%2Ftahoe-lafs.git Remove old unused append to deque function from downloader --- diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index c5195f63..4bc6b910 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -526,13 +526,3 @@ class Downloader(QueueMixin): def _write_downloaded_file(self, name, file_contents): print "_write_downloaded_file: no-op." - - # FIXME move to QueueMixin - def _append_to_deque(self, path): - if path in self._download_scan_batch.keys(): - return - self._deque.append(path) - self._pending.add(path) - self._count('download_objects_queued') - if self.is_ready: - reactor.callLater(0, self._turn_deque)