Fixed a few code style issues.

Sat, 29 Mar 2014 20:18:31 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 29 Mar 2014 20:18:31 +0100
changeset 3447
64fb656bd334
parent 3446
5a670e55adbb
child 3448
a690e5bcad1b
child 3484
645c12de6b0c

Fixed a few code style issues.

Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py file | annotate | diff | comparison | revisions
Plugins/PluginSyntaxChecker.py file | annotate | diff | comparison | revisions
Project/Project.py file | annotate | diff | comparison | revisions
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Sat Mar 29 20:12:47 2014 +0100
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Sat Mar 29 20:18:31 2014 +0100
@@ -172,7 +172,7 @@
         if (codestring and len(py3files) == 1) or \
            (codestring and len(py2files) == 1) or \
            (codestring and len(jsfiles) == 1) or \
-           (not codestring and 
+           (not codestring and
                 len(py3files) + len(py2files) + len(jsfiles) > 0):
             self.checkProgress.setMaximum(
                 len(py3files) + len(py2files) + len(jsfiles))
--- a/Plugins/PluginSyntaxChecker.py	Sat Mar 29 20:12:47 2014 +0100
+++ b/Plugins/PluginSyntaxChecker.py	Sat Mar 29 20:18:31 2014 +0100
@@ -253,7 +253,7 @@
             if not self.__editorAct in menu.actions():
                 menu.addAction(self.__editorAct)
             self.__editorAct.setEnabled(
-                editor.isPyFile() or 
+                editor.isPyFile() or
                 editor.isJavascriptFile()
             )
     
--- a/Project/Project.py	Sat Mar 29 20:12:47 2014 +0100
+++ b/Project/Project.py	Sat Mar 29 20:18:31 2014 +0100
@@ -180,8 +180,8 @@
             "Python3": Preferences.getPython("Python3Extensions"),
             "Ruby": ['.rb'],
             "JavaScript": ['.js'],
-            "Mixed": Preferences.getPython("Python3Extensions") + \
-                ['.rb', '.js'],
+            "Mixed": (Preferences.getPython("Python3Extensions") +
+                      ['.rb', '.js']),
         }
         
         self.dbgFilters = {

eric ide

mercurial