summaryrefslogtreecommitdiff
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r--Lib/nntplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index fad6b08c6e..21faab1aa3 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -179,7 +179,7 @@ class NNTP:
"""Internal: send one line to the server, appending CRLF."""
line = line + CRLF
if self.debugging > 1: print '*put*', `line`
- self.sock.send(line)
+ self.sock.sendall(line)
def putcmd(self, line):
"""Internal: send one command to the server (through putline())."""