Changes between Version 19 and Version 20 of XmlRpcPlugin


Ignore:
Timestamp:
Jan 3, 2006 1:08:56 AM (9 years ago)
Author:
athomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XmlRpcPlugin

    v19 v20  
    7171import xmlrpclib 
    7272 
    73 server = xmlrpclib.ServerProxy("http://athomas:password@localhost/trac-dev/login/RPC2") 
     73server = xmlrpclib.ServerProxy("http://athomas:password@localhost/trac-dev/login/xmlrpc") 
    7474for method in server.system.listMethods(): 
    7575  print method 
     
    8686import xmlrpclib 
    8787 
    88 server = xmlrpclib.ServerProxy("http://athomas:password@localhost/trac-dev/login/RPC2") 
     88server = xmlrpclib.ServerProxy("http://athomas:password@localhost/trac-dev/login/xmlrpc") 
    8989tickets = server.ticket.query("owner=athomas") 
    9090print '\n'.join(map(str, server.system.multicall([{'methodName' : 'ticket.get', 'params' : [ticket]} for ticket in tickets])))