eric6/Debugger/DebugServer.py

changeset 7635
0cdead130a81
parent 7628
f904d0eef264
child 7642
72721823d453
child 7646
39e3db2b4936
child 7707
6abcf4275d0e
--- a/eric6/Debugger/DebugServer.py	Sat Jun 20 17:36:20 2020 +0200
+++ b/eric6/Debugger/DebugServer.py	Sun Jun 21 18:26:12 2020 +0200
@@ -9,7 +9,6 @@
 
 
 import os
-import sys
 
 from PyQt5.QtCore import pyqtSignal, QModelIndex
 from PyQt5.QtNetwork import (
@@ -216,14 +215,6 @@
         self.clientType = Preferences.Prefs.settings.value('DebugClient/Type')
         if self.clientType is None:
             self.clientType = 'Python3'
-        # Change clientType if dependent interpreter does not exist anymore
-        # (maybe deinstalled,...)
-        elif self.clientType == 'Python2' and Preferences.getDebugger(
-                "Python2VirtualEnv") == '' and sys.version_info[0] >= 3:
-            self.clientType = 'Python3'
-        elif self.clientType == 'Python3' and Preferences.getDebugger(
-                "Python3VirtualEnv") == '' and sys.version_info[0] == 2:
-            self.clientType = 'Python2'
         
         self.lastClientType = ''
         self.__autoClearShell = False

eric ide

mercurial