Changeset 76


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
Location:
emailtotracscript/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • emailtotracscript/trunk/ChangeLog

    r69 r76  
     12006-???
     2        - Added ticketing merging. To enable it there are two options for
     3          both options enable 'ticket_update' in email2trac.conf
     4          1 - Configure trac notification, eg:
     5                always_notify_reporter = true
     6
     7          2 - Use the mailto_cc in email2trac.conf if you want to sent
     8              an email to the user and the trac email address.
     9
     10          With both options you get the right format of the subject line.
     11
     12        - Use the short options for the install command. So it works for
     13          MacOSx Reported by: Nathaniel Irons.
     14                 
    1152006-05-16
    216        - Fixed a bug when there was no plain text body.
  • 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.