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