[sbws/master] Fix syntax error

24 Oct
2018
24 Oct
'18
9:40 a.m.
commit 8787741b7fcebdc9fb18b68ea27bb8f858d93efc Author: Matt Traudt <sirmatt@ksu.edu> Date: Mon Oct 22 10:29:47 2018 -0400 Fix syntax error --- sbws/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbws/globals.py b/sbws/globals.py index e6ba3f5..5d1e667 100644 --- a/sbws/globals.py +++ b/sbws/globals.py @@ -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',
2428
Age (days ago)
2428
Last active (days ago)
0 comments
1 participants
participants (1)
-
juga@torproject.org