Delete redundant is_ready attribute from MagicFolder.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 3 Nov 2015 01:14:19 +0000 (01:14 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 28 Dec 2015 16:18:54 +0000 (16:18 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/magic_folder.py

index 35db9597afbe5fcb47328c70ac68bb216aca5ce7..353839aaa84e67dd76bf8642bf42c99c8d734923 100644 (file)
@@ -59,8 +59,6 @@ class MagicFolder(service.MultiService):
         self._client = client
         self._db = db
 
-        self.is_ready = False
-
         upload_dirnode = self._client.create_node_from_uri(upload_dircap)
         collective_dirnode = self._client.create_node_from_uri(collective_dircap)
 
@@ -79,7 +77,6 @@ class MagicFolder(service.MultiService):
         """ready is used to signal us to start
         processing the upload and download items...
         """
-        self.is_ready = True
         d = self.uploader.start_scanning()
         d2 = self.downloader.start_scanning()
         d.addCallback(lambda ign: d2)