Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3036
30c81c9e88b8
child 3145
a9de05d4a22f
--- 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.")))

eric ide

mercurial