276 """ |
276 """ |
277 Private method to process the lines of output. |
277 Private method to process the lines of output. |
278 |
278 |
279 @param line output line to be processed (string) |
279 @param line output line to be processed (string) |
280 """ |
280 """ |
281 if line.startswith("---") or \ |
281 if line.startswith("--- ") or \ |
282 line.startswith("+++"): |
282 line.startswith("+++ "): |
283 self.__processFileLine(line) |
283 self.__processFileLine(line) |
284 |
284 |
285 if line.startswith('+'): |
285 if line.startswith('+'): |
286 format = self.cAddedFormat |
286 format = self.cAddedFormat |
287 elif line.startswith('-'): |
287 elif line.startswith('-'): |