Preferences/ConfigurationPages/DebuggerGeneralPage.py

changeset 1184
a9ce179c7c94
parent 1131
7781e396c903
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1183:4285148ea20f 1184:a9ce179c7c94
64 if len(addressEntries) > 0: 64 if len(addressEntries) > 0:
65 for addressEntry in addressEntries: 65 for addressEntry in addressEntries:
66 if ":" in addressEntry.ip().toString() and not socket.has_ipv6: 66 if ":" in addressEntry.ip().toString() and not socket.has_ipv6:
67 continue # IPv6 not supported by Python 67 continue # IPv6 not supported by Python
68 interfaces.append("{0} ({1})"\ 68 interfaces.append("{0} ({1})"\
69 .format(networkInterface.name(), 69 .format(networkInterface.humanReadableName(),
70 addressEntry.ip().toString())) 70 addressEntry.ip().toString()))
71 self.interfacesCombo.addItems(interfaces) 71 self.interfacesCombo.addItems(interfaces)
72 interface = Preferences.getDebugger("NetworkInterface") 72 interface = Preferences.getDebugger("NetworkInterface")
73 if not socket.has_ipv6: 73 if not socket.has_ipv6:
74 # IPv6 not supported by Python 74 # IPv6 not supported by Python

eric ide

mercurial