eric6/Debugger/DebugUI.py

changeset 7635
0cdead130a81
parent 7533
88261c96484b
child 7646
39e3db2b4936
child 7707
6abcf4275d0e
--- a/eric6/Debugger/DebugUI.py	Sat Jun 20 17:36:20 2020 +0200
+++ b/eric6/Debugger/DebugUI.py	Sun Jun 21 18:26:12 2020 +0200
@@ -828,9 +828,7 @@
                     cap = self.debugServer.getClientCapabilities(language)
                     break
             else:
-                if editor.isPy2File():
-                    cap = self.debugServer.getClientCapabilities('Python2')
-                elif editor.isPy3File():
+                if editor.isPy3File():
                     cap = self.debugServer.getClientCapabilities('Python3')
                 elif editor.isRubyFile():
                     cap = self.debugServer.getClientCapabilities('Ruby')

eric ide

mercurial