]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
client.py: remove unused code
authorBrian Warner <warner@allmydata.com>
Fri, 29 Jun 2007 00:55:13 +0000 (17:55 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 29 Jun 2007 00:55:13 +0000 (17:55 -0700)
src/allmydata/client.py

index a87dd0b3f2565c6b5c114d189ec041a72ee568cb..3a11a4ed1cfddb857177aa001d5c72f29f561151 100644 (file)
@@ -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()