]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix import of HTTPError (GH-22304) (GH-26047)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 May 2021 23:18:13 +0000 (16:18 -0700)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 23:18:13 +0000 (16:18 -0700)
commit6098214b98f843fc8fb9d6042b0c9f96eb90957c
tree4b6de0bab5fdd16c8d8ae0f771a98981ddc3390c
parent1e4ca09d825cc8059bbf80c8137164816b84cfe7
Fix import of HTTPError (GH-22304) (GH-26047)

Import HTTPError from urllib.error instead of urllib.request.
(cherry picked from commit 5fedf71439187f00c661b16b80d398b74b00390e)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Lib/distutils/command/upload.py
Lib/distutils/tests/test_upload.py