Changeset 491 for trunk/email2trac.py.in
- Timestamp:
- 12/10/10 15:57:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r490 r491 1959 1959 1960 1960 for part in message_parts: 1961 1961 1962 1962 ## Plain text part, append it 1963 1963 # … … 1969 1969 (original, filename, part) = part 1970 1970 inline = self.inline_part(part) 1971 1972 # if part.get_content_type() == 'text/html': 1973 # 1974 # body_text.append('{{{\n') 1975 # body_text.append('#!html\n') 1976 # 1977 # ## Try to decode, if fails then do not decode 1978 # # 1979 # tmp = part.get_payload(decode=1) 1980 # if not tmp: 1981 # tmp = part.get_payload(decode=0) 1982 # 1983 # body_text.append(tmp) 1984 # body_text.append('}}}\n') 1971 1985 1972 1986 if part.get_content_maintype() == 'image' and inline:
Note: See TracChangeset
for help on using the changeset viewer.