Quustion about updating tickets

0 views
Skip to first unread message

Bas van der Vlies

unread,
Oct 19, 2009, 10:04:43 AM10/19/09
to trac...@googlegroups.com
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
ba...@sara.nl

Reply all
Reply to author
Forward
0 new messages