ipaddrs: return 127.0.0.1 if everything else fails
This helps the windows tests where ipaddrs currently fails entirely.
This commit is contained in:
parent
ca06e95bbd
commit
1903c58248
|
@ -42,7 +42,7 @@ def find_addresses():
|
||||||
addresses = []
|
addresses = []
|
||||||
if addresses:
|
if addresses:
|
||||||
return addresses
|
return addresses
|
||||||
return []
|
return ["127.0.0.1"]
|
||||||
|
|
||||||
def _query(path, args, regex):
|
def _query(path, args, regex):
|
||||||
env = {'LANG': 'en_US.UTF-8'}
|
env = {'LANG': 'en_US.UTF-8'}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user