--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Fri Nov 01 15:48:48 2013 +0100 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Sun Nov 03 15:58:22 2013 +0100 @@ -59,8 +59,7 @@ interpreter = Preferences.getDebugger("PythonInterpreter") if interpreter == "" or not Utilities.isExecutable(interpreter): self.errors.append( - (filename, 1, 1, - QCoreApplication.translate( + (filename, 1, 1, QCoreApplication.translate( "CodeStyleCheckerPy2", "Python2 interpreter not configured."))) return @@ -93,8 +92,8 @@ if finished: output = \ str(proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - 'replace').splitlines() + Preferences.getSystem("IOEncoding"), + 'replace').splitlines() if output[0] == "ERROR": self.errors.append((filename, 1, 1, output[2])) return @@ -133,7 +132,6 @@ index += 1 else: self.errors.append( - (filename, 1, 1, - QCoreApplication.translate( + (filename, 1, 1, QCoreApplication.translate( "CodeStyleCheckerPy2", "Python2 interpreter did not finish within 15s.")))