Typo discovered by Just.

This commit is contained in:
Guido van Rossum 1998-12-21 16:26:31 +00:00
parent 1f05708f69
commit c6769c54f4

View file

@ -351,7 +351,7 @@ class FTP:
break
if line[-2:] == CRLF:
line = line[:-2]
elif line[:-1] == '\n':
elif line[-1:] == '\n':
line = line[:-1]
callback(line)
fp.close()