Changeset 143
- Timestamp:
- 12/06/06 11:07:45 (16 years ago)
- Location:
- emailtotracscript/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
emailtotracscript/trunk/debian/control
r49 r143 9 9 Section: misc 10 10 Architecture: i386 11 Maintainer: Bas van der Vlies <bas@sara.nl> 11 12 Depends: ${slibs:Depends}, python, cdbs, trac 12 13 Description: Converts email to a trac ticket -
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.