Commit c3fb88be authored by Guido van Rossum's avatar Guido van Rossum

Fix xover implementation according to Fred Lundh.

parent a0e4c1bf
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment