Debugger/DebugServer.py

changeset 4480
2dec66f0b518
parent 4476
43ff14cde5e3
child 4495
b99a70d5cb4b
equal deleted inserted replaced
4479:fd9ceecf5a65 4480:2dec66f0b518
31 31
32 32
33 DebuggerInterfaces = [ 33 DebuggerInterfaces = [
34 "DebuggerInterfacePython", 34 "DebuggerInterfacePython",
35 "DebuggerInterfacePython3", 35 "DebuggerInterfacePython3",
36 "DebuggerInterfaceRuby", 36 ## "DebuggerInterfaceRuby",
37 "DebuggerInterfaceNone", 37 "DebuggerInterfaceNone",
38 ] 38 ]
39 39
40 40
41 class DebugServer(QTcpServer): 41 class DebugServer(QTcpServer):
329 interactive shell should be returned 329 interactive shell should be returned
330 @return list of supported languages (list of strings) 330 @return list of supported languages (list of strings)
331 """ 331 """
332 languages = list(self.__clientCapabilities.keys()) 332 languages = list(self.__clientCapabilities.keys())
333 try: 333 try:
334 del languages[languages.index("None")] 334 languages.remove("None")
335 except ValueError: 335 except ValueError:
336 pass # it is not in the list 336 pass # it is not in the list
337 337
338 if shellOnly: 338 if shellOnly:
339 languages = \ 339 languages = \

eric ide

mercurial