Changeset 89
- Timestamp:
- 06/26/06 10:01:47 (18 years ago)
- Location:
- emailtotracscript/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
emailtotracscript/trunk/ChangeLog
r88 r89 4 4 Fixed by: Walter de Jong en Bas van der Vlies 5 5 6 - Added enable_syslog option. If enabled log errors 7 to syslog instead of stderr. If enabled no errors are8 send back to theuser.6 - Added enable_syslog option. If enabled log errors to syslog 7 instead of stderr. If enabled no errors are send back to the 8 user. 9 9 Implemented by: Bas van der Vlies 10 10 … … 16 16 - Fixed and spell error, self.mail_addr must be self.email_addr 17 17 Fixed by: Bas van der Vlies 18 18 19 - Catch a LookupError in unicode/encode conversion 20 Fixed by: Bas van der Vlies 19 21 20 22 2006-06-02 -
emailtotracscript/trunk/debian/changelog
r88 r89 1 email2trac (0.7.3-4) stable; urgency=low 2 3 * Fixed a LookupError 4 5 -- root <basv@sara.nl> Mon, 26 Jun 2006 09:58:07 +0200 6 1 7 email2trac (0.7.3-3) stable; urgency=low 2 8 -
emailtotracscript/trunk/email2trac.py.in
r88 r89 497 497 # 498 498 charset = part.get_content_charset('iso-8859-15') 499 ubody_text = unicode(body_text, charset).encode('utf-8') 499 500 try: 501 temp = unicode(body_text, charset) 502 except (UnicodeError,LookupError): 503 temp = unicode(body_text, 'iso-8859-15') 504 505 #ubody_text = unicode(body_text, charset).encode('utf-8') 506 ubody_text = temp.encode('utf-8') 500 507 501 508 elif part.get_content_type() == 'text/html':
Note: See TracChangeset
for help on using the changeset viewer.