diff options
| author | Walter Dörwald <walter@livinglogic.de> | 2002-06-03 10:41:45 +0000 |
|---|---|---|
| committer | Walter Dörwald <walter@livinglogic.de> | 2002-06-03 10:41:45 +0000 |
| commit | 7750b74901dd66b0dbd4f14c224376d5353d1753 (patch) | |
| tree | 16c4603ddfd086e8f60f439e54ab1966bdc6a035 /Lib/ftplib.py | |
| parent | 4e1e044874008b2f14562be03056024649bed378 (diff) | |
| download | cpython-7750b74901dd66b0dbd4f14c224376d5353d1753.tar.gz | |
Fix a regression from the 1.68->1.69 checkin:
string.split(foo, bar) must be foo.split(bar) instead of bar.split(foo).
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 2e5cb33756..d67a0aa8cc 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -591,7 +591,7 @@ def parse229(resp, peer): raise error_proto, resp # should contain '(|||port|)' if resp[left + 1] <> resp[right - 1]: raise error_proto, resp - parts = resp[left+1].split(resp[left + 1:right]) + parts = resp[left + 1:right].split(resp[left+1]) if len(parts) <> 5: raise error_proto, resp host = peer[0] |
