[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2509: Magic Folder: clean up use of is_ready

Tahoe-LAFS trac at tahoe-lafs.org
Tue Sep 22 08:07:04 UTC 2015


#2509: Magic Folder: clean up use of is_ready
-------------------------------------------------+-----------------------
 Reporter:  daira                                |          Owner:  daira
     Type:  defect                               |         Status:  new
 Priority:  normal                               |      Milestone:  soon
Component:  code-frontend-magic-folder           |        Version:  n/a
 Keywords:  otf-magic-folder-objective4 cleanup  |  Launchpad Bug:
-------------------------------------------------+-----------------------
 As of [https://github.com/tahoe-lafs/tahoe-
 lafs/blob/665c36e45cab3487f279ccae44f79f606613c8f2/src/allmydata/frontends/magic_folder.py
 665c36e4]:

 Class `MagicFolder` has an `is_ready` attribute that is not needed.

 `QueueMixin._append_to_deque` references `self.is_ready`, but that is only
 initialised in `Uploader`, not `Downloader`. This works only because
 `_append_to_deque` is not called in `Downloader`
 (`_add_batch_to_download_queue` is used instead).

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2509>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list