On Python 3 it seems urllib.error.HTTPError doesn't set the .args
field of the exception to have any contents, which then breaks our
socket.error catch. This works around that issue.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGefebfa9b4cab: httppeer: explicitly catch urlerr.httperror and re-raise
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped