[FIX] allow modules to register exported services

bzr revid: chs@openerp.com-20101020151557-jjnl3n32lhi4bpox
This commit is contained in:
Christophe Simonis 2010-10-20 17:15:57 +02:00
parent 54ae6b5875
commit 5f3939be3c
1 changed files with 1 additions and 3 deletions

View File

@ -280,9 +280,7 @@ class XMLRPCRequestHandler(netsvc.OpenERPDispatcher,FixSendError,HttpLogHandler,
def setup(self):
self.connection = dummyconn()
if not len(XMLRPCRequestHandler.rpc_paths):
XMLRPCRequestHandler.rpc_paths = map(lambda s: '/%s' % s, netsvc.ExportService._services.keys())
pass
self.rpc_paths = map(lambda s: '/%s' % s, netsvc.ExportService._services.keys())
def init_xmlrpc():