Submitter | phabricator |
---|---|
Date | Dec. 28, 2020, 12:31 a.m. |
Message ID | <differential-rev-PHID-DREV-fcu7dwgf37hzbe4g2krc-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/47972/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -61,7 +61,7 @@ code = f.code except urlerr.httperror as inst: num = inst.code == 404 and errno.ENOENT or None - raise IOError(num, inst) + raise IOError(num, str(inst)) except urlerr.urlerror as inst: raise IOError(None, inst.reason)