Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3060
5883ce99ee12
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py	Fri Nov 01 15:48:48 2013 +0100
@@ -58,8 +58,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
         
@@ -130,6 +132,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