changeset 41428 | 2bf689b13a17 |
parent 41041 | 3913223417ea |
child 41429 | 6e9bebb65ce7 |
--- a/mercurial/statichttprepo.py Sat Jan 26 10:40:37 2019 -0800 +++ b/mercurial/statichttprepo.py Sat Jan 26 10:53:10 2019 -0800 @@ -59,7 +59,7 @@ num = inst.code == 404 and errno.ENOENT or None raise IOError(num, inst) except urlerr.urlerror as inst: - raise IOError(None, inst.reason[1]) + raise IOError(None, inst.reason) if code == 200: # HTTPRangeHandler does nothing if remote does not support