Preferences/ConfigurationPages/DebuggerGeneralPage.py

branch
5_1_x
changeset 1187
0a1dc25d1881
parent 791
9ec2ac20e54e
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
1186:df2ec39bb002 1187:0a1dc25d1881
63 if len(addressEntries) > 0: 63 if len(addressEntries) > 0:
64 for addressEntry in addressEntries: 64 for addressEntry in addressEntries:
65 if ":" in addressEntry.ip().toString() and not socket.has_ipv6: 65 if ":" in addressEntry.ip().toString() and not socket.has_ipv6:
66 continue # IPv6 not supported by Python 66 continue # IPv6 not supported by Python
67 interfaces.append("{0} ({1})"\ 67 interfaces.append("{0} ({1})"\
68 .format(networkInterface.name(), 68 .format(networkInterface.humanReadableName(),
69 addressEntry.ip().toString())) 69 addressEntry.ip().toString()))
70 self.interfacesCombo.addItems(interfaces) 70 self.interfacesCombo.addItems(interfaces)
71 interface = Preferences.getDebugger("NetworkInterface") 71 interface = Preferences.getDebugger("NetworkInterface")
72 if not socket.has_ipv6: 72 if not socket.has_ipv6:
73 # IPv6 not supported by Python 73 # IPv6 not supported by Python

eric ide

mercurial