Fixed an issue in the syntax checker dialog (it didn't pick up Python2 files in some situations).

Mon, 03 Jan 2011 17:45:11 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 03 Jan 2011 17:45:11 +0100
changeset 804
3465556892de
parent 803
86f10944dc83
child 805
83ca4d1ff648

Fixed an issue in the syntax checker dialog (it didn't pick up Python2 files in some situations).

Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py file | annotate | diff | comparison | revisions
diff -r 86f10944dc83 -r 3465556892de Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Mon Jan 03 17:41:20 2011 +0100
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Mon Jan 03 17:45:11 2011 +0100
@@ -140,6 +140,8 @@
             files = []
             for ext in Preferences.getPython("Python3Extensions"):
                 files.extend(Utilities.direntries(fn, 1, '*{0}'.format(ext), 0))
+            for ext in Preferences.getPython("PythonExtensions"):
+                files.extend(Utilities.direntries(fn, 1, '*{0}'.format(ext), 0))
         else:
             files = [fn]
         files = [f for f in files \

eric ide

mercurial