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/tahoe_css?a=commitdiff_plain;h=2b7e5c1481366bf4ae4dcf03ac837f91e6b0320f;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)