For email2trac i use the ticket API function tkt.save_changes(), I noticed that when tickets are send via email the ticket URL is wrong, eg: Ticket URL: <https://subtrac.sara.nl/hpcv/test_bas/ticket/69#comment:>
The web interface has this link: Ticket URL: <https://subtrac.sara.nl/hpcv/test_bas/ticket/69#comment:10 > I noticed there is an extra argument to the save_changes(): - def save_changes(self, author, comment, when=None, db=None, cnum='') Is there an easy way to obtain the cnum variable, or is this the method to obtain the value: {{{ a = tkt.get_changelog() print len(a) }}} -- Bas van der Vlies [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
