Merge with trunk up to revision 45620.

This commit is contained in:
Thomas Wouters 2006-04-21 16:44:05 +00:00
parent 13247bfc8b
commit d4ec0c3e2c
23 changed files with 141 additions and 115 deletions

View file

@ -560,6 +560,7 @@ class CGIXMLRPCRequestHandler(SimpleXMLRPCDispatcher):
self.handle_xmlrpc(request_text)
if __name__ == '__main__':
print 'Running XML-RPC server on port 8000'
server = SimpleXMLRPCServer(("localhost", 8000))
server.register_function(pow)
server.register_function(lambda x,y: x+y, 'add')