From: Brian Warner Date: Fri, 29 Jun 2007 00:55:13 +0000 (-0700) Subject: client.py: remove unused code X-Git-Tag: allmydata-tahoe-0.4.0~14 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/...?a=commitdiff_plain;h=4196c9ff66631270479cd4cb571e053d08840da3;p=tahoe-lafs%2Ftahoe-lafs.git client.py: remove unused code --- diff --git a/src/allmydata/client.py b/src/allmydata/client.py index a87dd0b3..3a11a4ed 100644 --- a/src/allmydata/client.py +++ b/src/allmydata/client.py @@ -105,13 +105,6 @@ class Client(node.Node, Referenceable): return self.getServiceNamed(name) raise RuntimeError("I am unwilling to give you service %s" % name) - def get_remote_service(self, nodeid, servicename): - if nodeid not in self.introducer_client.connections: - return defer.fail(IndexError("no connection to that peer")) - peer = self.introducer_client.connections[nodeid] - d = peer.callRemote("get_service", name=servicename) - return d - def get_all_peerids(self): if not self.introducer_client: @@ -130,9 +123,6 @@ class Client(node.Node, Referenceable): results.sort() return results - def connected_to_vdrive(self): - return self._connected_to_vdrive - def connected_to_introducer(self): if self.introducer_client: return self.introducer_client.connected_to_introducer()