D811: keepalive: add more context to bad status line errors
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Tue Sep 26 09:09:42 EDT 2017
yuja accepted this revision.
yuja added a comment.
This revision is now accepted and ready to land.
Queued, thanks.
INLINE COMMENTS
> keepalive.py:238
> + except httplib.BadStatusLine as err:
> + raise urlerr.urlerror(_('bad HTTP status line: %s') % err.line)
> except (socket.error, httplib.HTTPException) as err:
py3nit: we'll have to convert the translated message to unicode
because URLError is a subclass of IOError.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D811
To: indygreg, #hg-reviewers, yuja
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list