From d11acdf8bcb34618dc352c4b76995ac79408c202 Mon Sep 17 00:00:00 2001 From: David Stainton Date: Thu, 30 Jul 2015 13:57:29 -0700 Subject: [PATCH] Remove old unused append to deque function from downloader --- src/allmydata/frontends/magic_folder.py | 10 ---------- 1 file changed, 10 deletions(-) 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) -- 2.45.2