eric6/Debugger/DebugServer.py

branch
multi_processing
changeset 7646
39e3db2b4936
parent 7421
4a9900aef04e
parent 7635
0cdead130a81
child 7802
eefe954f01e8
--- a/eric6/Debugger/DebugServer.py	Wed Jun 17 17:14:12 2020 +0200
+++ b/eric6/Debugger/DebugServer.py	Sun Jul 05 11:11:24 2020 +0200
@@ -9,7 +9,6 @@
 
 
 import os
-import sys
 
 from PyQt5.QtCore import pyqtSignal, pyqtSlot, QModelIndex
 from PyQt5.QtNetwork import (
@@ -201,7 +200,7 @@
         
         self.networkInterface = Preferences.getDebugger("NetworkInterface")
         if self.networkInterface == "all":
-            hostAddress = QHostAddress("0.0.0.0")  # QHostAddress.Any)
+            hostAddress = QHostAddress("0.0.0.0")  # QHostAddress.Any)  # secok
         elif self.networkInterface == "allv6":
             hostAddress = QHostAddress("::")  # QHostAddress.AnyIPv6)
         else:
@@ -229,14 +228,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