diff options
author | Guido van Rossum <guido@python.org> | 2000-03-28 21:45:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-03-28 21:45:46 (GMT) |
commit | 93a7c0fe6b2186448ebe35a5af0ac3880d8f16fc (patch) | |
tree | 7e53b81f5f272f55a86e62234e06e482123f50fe /Lib/nntplib.py | |
parent | 1916b35f5864b2bfe5e2687b7db4fc0c329c9402 (diff) | |
download | cpython-93a7c0fe6b2186448ebe35a5af0ac3880d8f16fc.zip cpython-93a7c0fe6b2186448ebe35a5af0ac3880d8f16fc.tar.gz cpython-93a7c0fe6b2186448ebe35a5af0ac3880d8f16fc.tar.bz2 |
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...
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r-- | Lib/nntplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py index 292e6b0..81449b0 100644 --- a/Lib/nntplib.py +++ b/Lib/nntplib.py @@ -108,7 +108,7 @@ class NNTP: self.host = host self.port = port self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - self.sock.connect(self.host, self.port) + self.sock.connect((self.host, self.port)) self.file = self.sock.makefile('rb') self.debugging = 0 self.welcome = self.getresp() |