Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

changeset 3022
57179e4cdadd
parent 2983
f2f33024b001
child 3036
30c81c9e88b8
child 3058
0a02c433f52d
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py	Mon Oct 14 20:08:19 2013 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py	Tue Oct 15 18:29:32 2013 +0200
@@ -51,8 +51,10 @@
         
         interpreter = Preferences.getDebugger("PythonInterpreter")
         if interpreter == "" or not Utilities.isExecutable(interpreter):
-            self.errors.append((filename, 1, 1,
-                QCoreApplication.translate("CodeStyleCheckerPy2",
+            self.errors.append(
+                (filename, 1, 1,
+                 QCoreApplication.translate(
+                    "CodeStyleCheckerPy2",
                     "Python2 interpreter not configured.")))
             return
         
@@ -123,6 +125,8 @@
                 self.counters[code] = int(countStr)
                 index += 1
         else:
-            self.errors.append((filename, 1, 1,
-                QCoreApplication.translate("CodeStyleCheckerPy2",
+            self.errors.append(
+                (filename, 1, 1,
+                 QCoreApplication.translate(
+                    "CodeStyleCheckerPy2",
                     "Python2 interpreter did not finish within 15s.")))

eric ide

mercurial