Changed the Python2 syntax check to name the file together with a Python2 interpreter not configured warning.

Mon, 01 Oct 2012 19:55:49 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 01 Oct 2012 19:55:49 +0200
changeset 2085
b4c1f0b6dac2
parent 2084
d3f083dd0222
child 2087
795992a5c561

Changed the Python2 syntax check to name the file together with a Python2 interpreter not configured warning.

Utilities/__init__.py file | annotate | diff | comparison | revisions
diff -r d3f083dd0222 -r b4c1f0b6dac2 Utilities/__init__.py
--- a/Utilities/__init__.py	Mon Oct 01 19:44:40 2012 +0200
+++ b/Utilities/__init__.py	Mon Oct 01 19:55:49 2012 +0200
@@ -1291,7 +1291,7 @@
     interpreter = Preferences.getDebugger("PythonInterpreter")
     if interpreter == "" or not isinpath(interpreter):
         return (False, "", "", "", "", "", [(
-            "", "1",
+            file, "1",
             QCoreApplication.translate("Utilities",
                                        "Python2 interpreter not configured.")
             )])

eric ide

mercurial