server/repository.py
branchstable
changeset 3539 f3b14d052798
parent 3250 65618fd34548
child 3567 c43ce7949acf
--- a/server/repository.py	Wed Sep 30 21:06:09 2009 +0200
+++ b/server/repository.py	Thu Oct 01 08:49:29 2009 +0200
@@ -1191,7 +1191,7 @@
     def pyro_register(self, host=''):
         """register the repository as a pyro object"""
         from logilab.common.pyro_ext import register_object
-        appid = self.config['pyro-id'] or self.config.appid
+        appid = self.config['pyro-instance-id'] or self.config.appid
         daemon = register_object(self, appid, self.config['pyro-ns-group'],
                                  self.config['pyro-host'],
                                  self.config['pyro-ns-host'])
@@ -1224,7 +1224,7 @@
 def pyro_unregister(config):
     """unregister the repository from the pyro name server"""
     from logilab.common.pyro_ext import ns_unregister
-    appid = config['pyro-id'] or config.appid
+    appid = config['pyro-instance-id'] or config.appid
     ns_unregister(appid, config['pyro-ns-group'], config['pyro-ns-host'])