Changeset 193 for trunk/email2trac.py.in
- Timestamp:
- 12/07/07 12:53:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r192 r193 713 713 714 714 def strip_quotes(self, text): 715 """ 716 Strip quotes from message by Nicolas Mendoza 717 """ 718 body = [] 719 for line in text.splitlines(): 720 if line.startswith(self.EMAIL_QUOTE): 721 continue 722 body.append(line) 723 724 return ('\n'.join(body)) 725 715 """ 716 Strip quotes from message by Nicolas Mendoza 717 """ 718 body = [] 719 for line in text.splitlines(): 720 if line.startswith(self.EMAIL_QUOTE): 721 continue 722 body.append(line) 723 724 return ('\n'.join(body)) 726 725 727 726 def wrap_text(self, text, replace_whitespace = False): … … 836 835 # create false {abs_}href properties, to trick Notify() 837 836 # 838 if not self. version== 0.11:837 if not self.VERSION == 0.11: 839 838 self.env.abs_href = Href(self.get_config('project', 'url')) 840 839 self.env.href = Href(self.get_config('project', 'url'))
Note: See TracChangeset
for help on using the changeset viewer.