diff options
-rwxr-xr-x | src/sbin/bcfg2-server | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server index 8fe1b82ff..c1d678a76 100755 --- a/src/sbin/bcfg2-server +++ b/src/sbin/bcfg2-server @@ -43,12 +43,6 @@ class Bcfg2Serv(Bcfg2.Component.Component): if 'DBStats' in self.Core.plugins: self.fork_funcs.append("RecvStats") - # init functions to be exposed as XML-RPC functions - for plugin in self.Core.plugins.values(): - for method in plugin.__rmi__: - self.register_function(getattr(self.Core.plugins[plugin.__name__], method), - "%s.%s" % (plugin.__name__, method)) - famfd = self.Core.fam.fileno() events = False while True: @@ -80,6 +74,12 @@ class Bcfg2Serv(Bcfg2.Component.Component): "GetDecisionList" : self.Bcfg2GetDecisionList }) + # init functions to be exposed as XML-RPC functions + for plugin in self.Core.plugins.values(): + for method in plugin.__rmi__: + self.register_function(getattr(self.Core.plugins[plugin.__name__], method), + "%s.%s" % (plugin.__name__, method)) + def get_request(self): |