Sat, 11 Nov 2023 10:13:29 +0100
Fixed an issue in the syntax checker dialog (see issue 512).
src/eric7/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Thu Nov 09 14:27:21 2023 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Nov 11 10:13:29 2023 +0100 @@ -432,7 +432,7 @@ _fn, lineno, col, code, msg = error self.__createResultItem(_fn, lineno, col, msg, code, False) - warnings = problems.get("py_warnings") + problems.get("warnings", []) + warnings = problems.get("py_warnings", []) + problems.get("warnings", []) if warnings: if self.__batch: try: