]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Remove old unused append to deque function from downloader
authorDavid Stainton <dstainton415@gmail.com>
Thu, 30 Jul 2015 20:57:29 +0000 (13:57 -0700)
committerDavid Stainton <dstainton415@gmail.com>
Thu, 30 Jul 2015 20:57:29 +0000 (13:57 -0700)
src/allmydata/frontends/magic_folder.py

index c5195f63150847dbf2e1faa8772424debb818679..4bc6b910be3bfb605c10736104de98ae2da9f5d0 100644 (file)
@@ -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)