Commit 2a91cd46 authored by Guido van Rossum's avatar Guido van Rossum

Caolan McNamara: properly undo the byte-stuffing of lines starting

with a dot.  [GvR change: only unstuff when line starts with two dots.]
parent 9cef99fb
......@@ -133,6 +133,9 @@ class POP3:
list = []; octets = 0
line, o = self._getline()
while line != '.':
if line[:2] == '..':
o = o-1
line = line[1:]
octets = octets + o
list.append(line)
line, o = self._getline()
......
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