From: Brian Warner Date: Tue, 17 Jul 2007 03:17:06 +0000 (-0700) Subject: vdrive.py: log a note when we successfully retrieve the global root directory X-Git-Url: https://git.rkrishnan.org/simplejson/__init__.py.html?a=commitdiff_plain;h=4db205b8b32ad787d17ba85d3d72786b164826aa;p=tahoe-lafs%2Ftahoe-lafs.git vdrive.py: log a note when we successfully retrieve the global root directory --- diff --git a/src/allmydata/vdrive.py b/src/allmydata/vdrive.py index 48c3eea4..b103a204 100644 --- a/src/allmydata/vdrive.py +++ b/src/allmydata/vdrive.py @@ -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")