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/com_hotproperty/css/%3C?a=commitdiff_plain;h=d11acdf8bcb34618dc352c4b76995ac79408c202;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)