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

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