Changeset 462 for trunk/email2trac.py.in
- Timestamp:
- 07/26/10 10:09:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r456 r462 1547 1547 Strip signature from message, inspired by Mailman software 1548 1548 """ 1549 self.logger.debug('function strip_signature') 1550 1549 1551 body = [] 1550 1552 for line in text.splitlines(): … … 1596 1598 Strip quotes from message by Nicolas Mendoza 1597 1599 """ 1600 self.logger.debug('function strip_quotes') 1601 1598 1602 body = [] 1599 1603 for line in text.splitlines(): 1600 if line.startswith(self.parameters.email_quote): 1601 continue 1604 try: 1605 1606 if line.startswith(self.parameters.email_quote): 1607 continue 1608 1609 except UnicodeDecodeError: 1610 1611 tmp_line = self.email_to_unicode(line) 1612 if tmp_line.startswith(self.parameters.email_quote): 1613 continue 1614 1602 1615 body.append(line) 1603 1616
Note: See TracChangeset
for help on using the changeset viewer.