eric6/Preferences/__init__.py

changeset 8228
772103b14c18
parent 8220
006ee31b4835
child 8234
fcb6b4b96274
diff -r 349308e84eeb -r 772103b14c18 eric6/Preferences/__init__.py
--- a/eric6/Preferences/__init__.py	Mon Apr 12 19:05:23 2021 +0200
+++ b/eric6/Preferences/__init__.py	Mon Apr 12 19:21:40 2021 +0200
@@ -1785,10 +1785,7 @@
             return "standard"
         else:
             return debugClientType
-    elif key == "PythonExtensions":
-        # we don't support Python2 anymore
-        return ""
-    elif key == "Python2VirtualEnv":
+    elif key in ("PythonExtensions", "Python2VirtualEnv"):
         # we don't support Python2 anymore
         return ""
     else:

eric ide

mercurial