From 93a7c0fe6b2186448ebe35a5af0ac3880d8f16fc Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 28 Mar 2000 21:45:46 +0000 Subject: Fredrik Lundh: This fixes a bunch of socket.connect(host, post) calls. Note that I haven't tested all modules -- I don't have enough servers here... --- Lib/gopherlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/gopherlib.py') diff --git a/Lib/gopherlib.py b/Lib/gopherlib.py index d805f151d09..6965fbdb8a9 100644 --- a/Lib/gopherlib.py +++ b/Lib/gopherlib.py @@ -66,7 +66,7 @@ def send_selector(selector, host, port = 0): elif type(port) == type(''): port = string.atoi(port) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - s.connect(host, port) + s.connect((host, port)) s.send(selector + CRLF) s.shutdown(1) return s.makefile('rb') -- cgit v1.2.3