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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 01 Oct 2012 19:55:49 +0200
branch
5_2_x
changeset 2086
5b7dad2b27ec
parent 2073
839e145800ee
child 2090
a74544498a96

Changed the Python2 syntax check to name the file together with a Python2 interpreter not configured warning.
(grafted from b4c1f0b6dac2994b77f681a9966eae194867ab92)

Utilities/__init__.py file | annotate | diff | comparison | revisions
diff -r 839e145800ee -r 5b7dad2b27ec Utilities/__init__.py
--- a/Utilities/__init__.py	Sat Sep 29 16:01:42 2012 +0200
+++ b/Utilities/__init__.py	Mon Oct 01 19:55:49 2012 +0200
@@ -1248,7 +1248,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