diff options
Diffstat (limited to 'Lib/ftplib.py')
-rw-r--r-- | Lib/ftplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 94ff2cd..23ccd88 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -514,7 +514,7 @@ class FTP: try: return int(s) except (OverflowError, ValueError): - return long(s) + return int(s) def mkd(self, dirname): '''Make a directory, return its full pathname.''' @@ -564,7 +564,7 @@ def parse150(resp): try: return int(s) except (OverflowError, ValueError): - return long(s) + return int(s) _227_re = None |