client.py: add the missing remote_get_nodeid() method claimed in interfaces.py
authorBrian Warner <warner@allmydata.com>
Wed, 26 Sep 2007 19:20:48 +0000 (12:20 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 26 Sep 2007 19:20:48 +0000 (12:20 -0700)
src/allmydata/client.py

index 4918fa9065d1a13baf7ebb5555ef0b2aec21dd87..8dbc71a5e5dfb56ecb775e6b642feda822a22be9 100644 (file)
@@ -150,6 +150,8 @@ class Client(node.Node, Referenceable, testutil.PollMixin):
             return self.getServiceNamed(name)
         raise RuntimeError("I am unwilling to give you service %s" % name)
 
+    def remote_get_nodeid(self):
+        return self.nodeid
 
     def get_all_peerids(self):
         if not self.introducer_client: