Changeset 239 for trunk/email2trac.py.in
- Timestamp:
- 12/18/08 22:48:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r238 r239 848 848 849 849 m = email.message_from_file(fp) 850 850 851 if not m: 851 852 if self.DEBUG: 852 853 print "This is not a valid email message format" 853 854 return 855 856 print repr(m['Subject']) 857 858 # Work around lack of header folding in Python; see http://bugs.python.org/issue4696 859 m.replace_header('Subject', m['Subject'].replace('\r', '').replace('\n', '')) 854 860 855 861 if self.DEBUG > 1: # save the entire e-mail message text
Note: See TracChangeset
for help on using the changeset viewer.