Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py

changeset 3022
57179e4cdadd
parent 3004
c4bf32c791d0
child 3034
7ce719013078
child 3058
0a02c433f52d
--- a/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py	Mon Oct 14 20:08:19 2013 +0200
+++ b/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py	Tue Oct 15 18:29:32 2013 +0200
@@ -149,7 +149,8 @@
                     source = Utilities.convertLineEnds(source, "\n")
                 except (UnicodeError, IOError) as msg:
                     self.noResults = False
-                    self.__createResultItem(file, "1",
+                    self.__createResultItem(
+                        file, "1",
                         "Error: {0}".format(str(msg)).rstrip()[1:-1])
                     progress += 1
                     continue
@@ -265,7 +266,7 @@
         interpreter = Preferences.getDebugger("PythonInterpreter")
         if interpreter == "" or not Utilities.isExecutable(interpreter):
             return (True, filename, "1",
-                self.trUtf8("Python2 interpreter not configured."))
+                    self.trUtf8("Python2 interpreter not configured."))
         
         checker = os.path.join(getConfig('ericDir'),
                                "UtilitiesPython2", "TabnannyChecker.py")
@@ -290,4 +291,4 @@
                 return (False, None, None, None)
         
         return (True, filename, "1",
-            self.trUtf8("Python2 interpreter did not finish within 15s."))
+                self.trUtf8("Python2 interpreter did not finish within 15s."))

eric ide

mercurial