diff -r 801289962f4e -r 57179e4cdadd Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py --- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Mon Oct 14 20:08:19 2013 +0200 +++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Tue Oct 15 18:29:32 2013 +0200 @@ -189,7 +189,8 @@ source = Utilities.convertLineEnds(source, "\n") except (UnicodeError, IOError) as msg: self.noResults = False - self.__createResultItem(file, "1", 0, + self.__createResultItem( + file, "1", 0, self.trUtf8("Error: {0}").format(str(msg))\ .rstrip()[1:-1], "") progress += 1 @@ -208,7 +209,8 @@ "Python2"]): isPy3 = False nok, fname, line, index, code, error, warnings = \ - Utilities.py2compile(file, + Utilities.py2compile( + file, checkFlakes=Preferences.getFlakes( "IncludeInSyntaxCheck")) else: