Changeset 210 for trunk/email2trac.py.in


Ignore:
Timestamp:
05/30/08 12:43:21 (16 years ago)
Author:
bas
Message:

email2trac.py.in:

  • closes tickets #60, #39, #56
  • preparing for new release 0.30
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r209 r210  
    617617
    618618                body_text = self.get_body_text(m)
     619
    619620                if self.EMAIL_HEADER:
    620621                        head = self.email_header_txt(m)
    621622                        body_text = u"\r\n%s \r\n%s" %(head, body_text)
    622 
    623                 #if self.MAILTO:
    624                 #       mailto = self.html_mailto_link(tkt['summary'], ticket_id, body_text)
    625                 #       body_text = u"\r\n%s \r\n%s" %(mailto, body_text)
    626623
    627624                tkt.save_changes(self.author, body_text, when)
     
    742739                        changed = True
    743740                        comment = u'\nadded mailto line\n'
    744                         mailto = self.html_mailto_link(tkt['summary'], ticket_id, body_text)
     741                        #mailto = self.html_mailto_link(tkt['summary'], ticket_id, body_text)
     742                        mailto = self.html_mailto_link( m['Subject'], ticket_id, body_text)
    745743                        tkt['description'] = u'\r\n%s\r\n%s%s\r\n' \
    746744                                %(head, mailto, body_text)
Note: See TracChangeset for help on using the changeset viewer.