[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] Fix syntax error



commit 8787741b7fcebdc9fb18b68ea27bb8f858d93efc
Author: Matt Traudt <sirmatt@xxxxxxx>
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',



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits