255 Preferences.getSystem("IOEncoding"), |
255 Preferences.getSystem("IOEncoding"), |
256 'replace') |
256 'replace') |
257 if self.summaryPath: |
257 if self.summaryPath: |
258 line = line.replace(self.summaryPath + '/', '') |
258 line = line.replace(self.summaryPath + '/', '') |
259 line = " ".join(line.split()) |
259 line = " ".join(line.split()) |
260 if line.startswith("---") or \ |
260 if line.startswith("--- ") or \ |
261 line.startswith("+++"): |
261 line.startswith("+++ "): |
262 self.__processFileLine(line) |
262 self.__processFileLine(line) |
263 |
263 |
264 if line.startswith('+') or line.startswith('>') or line.startswith('A '): |
264 if line.startswith('+') or line.startswith('>') or line.startswith('A '): |
265 format = self.cAddedFormat |
265 format = self.cAddedFormat |
266 elif line.startswith('-') or line.startswith('<') or line.startswith('D '): |
266 elif line.startswith('-') or line.startswith('<') or line.startswith('D '): |