]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114241: Fix and improve the ftplib CLI (GH-114242)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 21 Jan 2024 20:16:45 +0000 (22:16 +0200)
committerGitHub <noreply@github.com>
Sun, 21 Jan 2024 20:16:45 +0000 (22:16 +0200)
commit42d72b23dd1ee0e100ee47aca64fc1e1bbe576c9
tree36ee108ad62a5d79a3b5942d8803cb67001c8f8e
parent336030161a6cb8aa5b4f42a08510f4383984703f
gh-114241: Fix and improve the ftplib CLI (GH-114242)

* Fix writing the retrieved binary file to stdout.
* Add a newline after writing warnings to stderr.
* Fix a TypeError if the netrc file doesn't contain a host/default entry.
* Improve the usage message.
Lib/ftplib.py