diff options
author | Guido van Rossum <guido@python.org> | 1998-12-21 16:26:31 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-21 16:26:31 (GMT) |
commit | c6769c54f40a5cf6ed42ad7dcc7189d30ee8714e (patch) | |
tree | 5af01a0048bde1f79e6eb86a2e2a96f391f393bf /Lib/ftplib.py | |
parent | 1f05708f69bb90d2892b4e5c9521b19c1574c6b1 (diff) | |
download | cpython-c6769c54f40a5cf6ed42ad7dcc7189d30ee8714e.zip cpython-c6769c54f40a5cf6ed42ad7dcc7189d30ee8714e.tar.gz cpython-c6769c54f40a5cf6ed42ad7dcc7189d30ee8714e.tar.bz2 |
Typo discovered by Just.
Diffstat (limited to 'Lib/ftplib.py')
-rw-r--r-- | Lib/ftplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index e18f684..ac33a12 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -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() |