hgext3rd/__init__.py
author Augie Fackler <augie@google.com>
Mon, 26 Feb 2018 00:50:35 -0500
changeset 36460 efebfa9b4cab
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
httppeer: explicitly catch urlerr.httperror and re-raise 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. Differential Revision: https://phab.mercurial-scm.org/D2448

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)