Set rpc_paths from _SERVICE
This commit is contained in:
1 parent
8851c2cec3
commit
bf1f79a7cc
1 file changed
+2
-7
+2
-7
@@ -192,13 +192,8 @@ class GenericXMLRPCRequestHandler:
|
||||
|
||||
class SimpleXMLRPCRequestHandler(GenericXMLRPCRequestHandler,
|
||||
SimpleXMLRPCServer.SimpleXMLRPCRequestHandler):
|
||||
SimpleXMLRPCServer.SimpleXMLRPCRequestHandler.rpc_paths = (
|
||||
'/xmlrpc/db',
|
||||
'/xmlrpc/common',
|
||||
'/xmlrpc/object',
|
||||
'/xmlrpc/report',
|
||||
'/xmlrpc/wizard',
|
||||
)
|
||||
SimpleXMLRPCServer.SimpleXMLRPCRequestHandler.rpc_paths = \
|
||||
map(lambda s: '/xmlrpc/%s' % s, _SERVICE)
|
||||
|
||||
|
||||
class SecureXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
||||
|
||||
Reference in new issue
Block a user