[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] - fix minor typo via pylint
commit acb607ddbb2bf614dee0de3530775f46713b3567
Author: Ximin Luo <infinity0@xxxxxxx>
Date: Wed Nov 6 21:03:53 2013 +0000
- fix minor typo via pylint
---
flashproxy-reg-appspot | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flashproxy-reg-appspot b/flashproxy-reg-appspot
index 5522dcf..eae80ea 100755
--- a/flashproxy-reg-appspot
+++ b/flashproxy-reg-appspot
@@ -113,7 +113,7 @@ def create_socket(address, timeout = None):
host, port = address
addrs = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
if not addrs:
- raise error("getaddrinfo returns an empty list")
+ raise socket.error("getaddrinfo returns an empty list")
err = None
for addr in addrs:
try:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits