Plugins/PluginSyntaxChecker.py

changeset 3034
7ce719013078
parent 3022
57179e4cdadd
child 3036
30c81c9e88b8
--- a/Plugins/PluginSyntaxChecker.py	Sat Oct 19 12:28:12 2013 +0200
+++ b/Plugins/PluginSyntaxChecker.py	Sat Oct 19 13:03:39 2013 +0200
@@ -148,7 +148,7 @@
         """
         if menuName == "Checks" and self.__projectAct is not None:
             self.__projectAct.setEnabled(
-                e5App().getObject("Project").getProjectLanguage() in \
+                e5App().getObject("Project").getProjectLanguage() in
                     ["Python3", "Python2", "Python"])
     
     def __projectBrowserShowMenu(self, menuName, menu):
@@ -184,8 +184,8 @@
         project = e5App().getObject("Project")
         project.saveAllScripts()
         ppath = project.getProjectPath()
-        files = [os.path.join(ppath, file) \
-                 for file in project.pdata["SOURCES"] \
+        files = [os.path.join(ppath, file)
+                 for file in project.pdata["SOURCES"]
                  if file.endswith(
                     tuple(Preferences.getPython("Python3Extensions")) +
                     tuple(Preferences.getPython("PythonExtensions")))]

eric ide

mercurial