Changeset 143 for emailtotracscript/trunk/email2trac.py.in
- Timestamp:
- 12/06/06 11:07:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emailtotracscript/trunk/email2trac.py.in
r142 r143 290 290 Get the default author name and email address from the message 291 291 """ 292 self.author, self.email_addr = email.Utils.parseaddr(message['from']) 293 294 self.author = self.email_to_unicode(self.author) 295 #self.author = self.author.encode('utf-8', 'replace') 292 temp = self.email_to_unicode(message['from']) 293 #print temp.encode('utf-8') 294 295 self.author, self.email_addr = email.Utils.parseaddr(temp) 296 #print self.author.encode('utf-8', 'replace') 296 297 297 298 # Look for email address in registered trac users … … 629 630 def html_mailto_link(self, subject, id, body): 630 631 if not self.author: 631 author = self. self.email_addr632 author = self.email_addr 632 633 else: 633 634 author = self.author
Note: See TracChangeset
for help on using the changeset viewer.