Ignore:
Timestamp:
05/26/06 11:16:37 (18 years ago)
Author:
bas
Message:

EmailtoTracScript?:

email2trac.py.in:

  • ticket.save_changes is changed for versions 0.9 and 0.10
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emailtotracscript/trunk/email2trac.py.in

    r75 r76  
    340340                body_text = self.get_body_text(m)
    341341                body_text = '{{{\n%s\n}}}' %body_text
    342                 tkt.save_changes(self.db, self.author, body_text)
     342
     343                if self.VERSION  == 0.8:
     344                        tkt.save_changes(self.db, self.author, body_text)
     345                else:
     346                        # def save_changes(self, author, comment, when=0, self.db=None):
     347                        tkt.save_changes(self.author, body_text)
     348
    343349
    344350                self.attachments(m, tkt)
Note: See TracChangeset for help on using the changeset viewer.