Changed the non-existance of a Python2 interpreter in the syntax checker to a warning.

Mon, 04 Jul 2011 08:08:04 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 04 Jul 2011 08:08:04 +0200
changeset 1167
8beb6bacd874
parent 1166
a94b0a2fafd7
child 1169
36a3bb21e6e6

Changed the non-existance of a Python2 interpreter in the syntax checker to a warning.

Utilities/__init__.py file | annotate | diff | comparison | revisions
--- a/Utilities/__init__.py	Sun Jul 03 18:01:53 2011 +0200
+++ b/Utilities/__init__.py	Mon Jul 04 08:08:04 2011 +0200
@@ -1220,10 +1220,11 @@
     """
     interpreter = Preferences.getDebugger("PythonInterpreter")
     if interpreter == "" or not isinpath(interpreter):
-        return (True, file, "1", "0", "",
+        return (False, "", "", "", "", "", [(
+            "", "1",
             QCoreApplication.translate("Utilities",
-                                       "Python2 interpreter not configured."),
-            [])
+                                       "Python2 interpreter not configured.")
+            )])
     
     syntaxChecker = os.path.join(getConfig('ericDir'),
                                  "UtilitiesPython2", "Py2SyntaxChecker.py")

eric ide

mercurial