From 4196c9ff66631270479cd4cb571e053d08840da3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 28 Jun 2007 17:55:13 -0700 Subject: [PATCH] client.py: remove unused code --- src/allmydata/client.py | 10 ---------- 1 file changed, 10 deletions(-) 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() -- 2.45.2