]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
vdrive.py: log a note when we successfully retrieve the global root directory
authorBrian Warner <warner@allmydata.com>
Tue, 17 Jul 2007 03:17:06 +0000 (20:17 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 17 Jul 2007 03:17:06 +0000 (20:17 -0700)
src/allmydata/vdrive.py

index 48c3eea45c9b902c5bbbe46c9be583b2dd22f548..b103a204682b29043da2558a4d947d39aaca4347 100644 (file)
@@ -45,10 +45,12 @@ class VirtualDrive(service.MultiService):
             self._global_uri = f.read().strip()
             f.close()
         elif global_vdrive_furl:
+            self.parent.log("fetching global_uri")
             d = tub.getReference(global_vdrive_furl)
             d.addCallback(lambda vdrive_server:
                           vdrive_server.callRemote("get_public_root_uri"))
             def _got_global_uri(global_uri):
+                self.parent.log("got global_uri")
                 self._global_uri = global_uri
                 f = open(global_uri_file, "w")
                 f.write(self._global_uri + "\n")