Another method is using the xmlrpc plugin:

import xmlrpclib

proxyURL = ...

p = xmlrpclib.ServerProxy(proxyURL)
all_ids = p.ticket.query('id != 0')
p.ticket.delete(all_ids)

This code is not tested but I used similar snippets extensivley,
no problems ...

Greetings

Reinhard

P.S.: The xmlrpc plugin is really good for many purposes!

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to