Ticket #35: rev192.diff

File rev192.diff, 981 bytes (added by andrei2102@…, 16 years ago)

patch for [192]

  • ./

    old new  
    712712                return ('\n'.join(body))
    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)
     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)
    723723
    724         return ('\n'.join(body))
     724                return ('\n'.join(body))
    725725
    726726
    727727        def wrap_text(self, text, replace_whitespace = False):
     
    835835                try:
    836836                        # create false {abs_}href properties, to trick Notify()
    837837                        #
    838                         if not self.version == 0.11:
     838                        if not self.VERSION == 0.11:
    839839                                self.env.abs_href = Href(self.get_config('project', 'url'))
    840840                                self.env.href = Href(self.get_config('project', 'url'))
    841841