diff options
author | Guido van Rossum <guido@python.org> | 1997-07-17 15:21:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-17 15:21:52 (GMT) |
commit | c3fb88be8b5ae8953a35a23c22134f16931361ce (patch) | |
tree | a110f70f7be2af817631700b644a856b1fce5679 /Lib/nntplib.py | |
parent | a0e4c1bffc3454345fd79708e9e43a2412ce1197 (diff) | |
download | cpython-c3fb88be8b5ae8953a35a23c22134f16931361ce.zip cpython-c3fb88be8b5ae8953a35a23c22134f16931361ce.tar.gz cpython-c3fb88be8b5ae8953a35a23c22134f16931361ce.tar.bz2 |
Fix xover implementation according to Fred Lundh.
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r-- | Lib/nntplib.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py index 7fe4971..4759374 100644 --- a/Lib/nntplib.py +++ b/Lib/nntplib.py @@ -324,14 +324,14 @@ class NNTP: for line in lines: elem = string.splitfields(line,"\t") try: - xover_lines.append(elem[0], - elem[1], - elem[2], - elem[3], - elem[4], - elem[5:-2], - elem[-2], - elem[-1]) + xover_lines.append((elem[0], + elem[1], + elem[2], + elem[3], + elem[4], + string.split(elem[5]), + elem[6], + elem[7])) except IndexError: raise error_data,line return resp,xover_lines |