Changeset 40 for emailtotracscript/trunk/email2trac.py.in
- Timestamp:
- 01/24/06 23:54:36 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emailtotracscript/trunk/email2trac.py.in
r39 r40 284 284 285 285 author, email_addr = email.Utils.parseaddr(msg['from']) 286 from_str = self.to_unicode(msg['from']) 287 tkt['reporter'] = from_str 286 email_str = self.to_unicode(email_addr) 287 if author: 288 tkt['reporter'] = self.to_unicode(author) 289 else 290 tkt['reporter'] = self.to_unicode(email_str) 291 288 292 if self.CC: 289 tkt['cc'] = email_ addr293 tkt['cc'] = email_str 290 294 291 295 # produce e-mail like header
Note: See TracChangeset
for help on using the changeset viewer.