Debugger/DebugUI.py

changeset 3446
5a670e55adbb
parent 3345
071afe8be2a1
child 3484
645c12de6b0c
--- a/Debugger/DebugUI.py	Fri Mar 28 19:52:34 2014 +0100
+++ b/Debugger/DebugUI.py	Sat Mar 29 20:12:47 2014 +0100
@@ -831,7 +831,7 @@
                     break
             else:
                 if editor.isPy2File():
-                    cap = self.debugServer.getClientCapabilities('Python')
+                    cap = self.debugServer.getClientCapabilities('Python2')
                 elif editor.isPy3File():
                     cap = self.debugServer.getClientCapabilities('Python3')
                 elif editor.isRubyFile():
@@ -869,7 +869,7 @@
         if editor is None:
             return
         
-        if editor.isPy3File() or editor.isPy2File() or editor.isRubyFile():
+        if editor.isPyFile() or editor.isRubyFile():
             if editor.curLineHasBreakpoint():
                 self.dbgEditBpAct.setEnabled(True)
             else:

eric ide

mercurial