Commit 8787741b authored by Matt Traudt's avatar Matt Traudt
Browse files

Fix syntax error

parent a7dce5ce
......@@ -69,7 +69,7 @@ def resolve(hostname, ipv4_only=False, ipv6_only=False):
assert not (ipv4_only and ipv6_only)
results = []
try:
results = socket.getaddrinfo(hostname, 0):
results = socket.getaddrinfo(hostname, 0)
except socket.gaierror:
log.warn(
'Unable to resolve %s hostname. Returning empty list of addresses',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment