Preferences/__init__.py

changeset 6349
17b3c75913de
parent 6348
d6c0b8ab1fc6
child 6395
613e37fabd96
child 6397
473d410076e9
--- a/Preferences/__init__.py	Fri Jun 15 18:49:48 2018 +0200
+++ b/Preferences/__init__.py	Sat Jun 16 13:34:22 2018 +0200
@@ -1797,15 +1797,13 @@
             prefClass.settings.value(
                 "Debugger/" + key, prefClass.debuggerDefaults[key]))
     elif key in ["PythonInterpreter", "Python3Interpreter"]:
-        # TODO: Remove this statement when done
-##        raise KeyError("{0} is no longer supported.".format(key))
         # This code is here to ensure backward compatibility.
         if key == "PythonInterpreter":
             newKey = "Python2VirtualEnv"
         else:
             newKey = "Python3VirtualEnv"
         venvName = prefClass.settings.value(
-                "Debugger/" + newKey, prefClass.debuggerDefaults[newKey])
+            "Debugger/" + newKey, prefClass.debuggerDefaults[newKey])
         if venvName:
             try:
                 from E5Gui.E5Application import e5App

eric ide

mercurial