Changeset 193


Ignore:
Timestamp:
12/07/07 12:53:49 (16 years ago)
Author:
bas
Message:

email2trac.py.in:

  • Fixed some stupid errors, thanks to andrei2102 add gmail dot com
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r192 r193  
    713713
    714714        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))
    726725
    727726        def wrap_text(self, text, replace_whitespace = False):
     
    836835                        # create false {abs_}href properties, to trick Notify()
    837836                        #
    838                         if not self.version == 0.11:
     837                        if not self.VERSION == 0.11:
    839838                                self.env.abs_href = Href(self.get_config('project', 'url'))
    840839                                self.env.href = Href(self.get_config('project', 'url'))
Note: See TracChangeset for help on using the changeset viewer.