diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-04-25 06:30:05 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-04-25 06:30:05 (GMT) |
commit | 0d4c06e06e5ee1f3bb1fa8068114bd700d74864a (patch) | |
tree | 021c8e11696fc29a41ddd9e853af42e6008a58f6 /Lib/ftplib.py | |
parent | e47c508850392422ebbf15c86e7411b46addfcd0 (diff) | |
download | cpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.zip cpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.tar.gz cpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.tar.bz2 |
Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time. Be gentle. :-)
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 012671b..f9b6396 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -84,7 +84,7 @@ class FTP: meaning that no timeout will be set on any ftp socket(s) If a timeout is passed, then this is now the default timeout for all ftp socket operations for this instance. - + Then use self.connect() with optional host and port argument. To download a file, use ftp.retrlines('RETR ' + filename), @@ -112,7 +112,7 @@ class FTP: self.timeout = timeout if host: self.connect(host) - if user: + if user: self.login(user, passwd, acct) def connect(self, host='', port=0, timeout=None): |