Typo discovered by Just.

This commit is contained in:
Guido van Rossum 1998-12-21 16:26:31 +00:00
parent 1f05708f69
commit c6769c54f4
1 changed files with 1 additions and 1 deletions

View File

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