Remove network.py patch

This is fixed via another PR (#51274)
This commit is contained in:
twangboy 2019-01-22 10:31:31 -07:00 committed by Ch3LL
parent d431c713c7
commit d2eba77bf7
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -1953,7 +1953,7 @@ def parse_host_port(host_port):
host = _s_
try:
if not isinstance(host, ipaddress._BaseAddress):
host_ip = ipaddress.ip_address(host).compressed
host_ip = ipaddress.ip_address(host)
host = host_ip
except ValueError:
log.debug('"%s" Not an IP address? Assuming it is a hostname.', host)