430 if error: |
430 if error: |
431 self.noResults = False |
431 self.noResults = False |
432 _fn, lineno, col, code, msg = error |
432 _fn, lineno, col, code, msg = error |
433 self.__createResultItem(_fn, lineno, col, msg, code, False) |
433 self.__createResultItem(_fn, lineno, col, msg, code, False) |
434 |
434 |
435 warnings = problems.get("py_warnings") + problems.get("warnings", []) |
435 warnings = problems.get("py_warnings", []) + problems.get("warnings", []) |
436 if warnings: |
436 if warnings: |
437 if self.__batch: |
437 if self.__batch: |
438 try: |
438 try: |
439 source = Utilities.readEncodedFile(fn)[0] |
439 source = Utilities.readEncodedFile(fn)[0] |
440 source = Utilities.normalizeCode(source) |
440 source = Utilities.normalizeCode(source) |