py3: use `except error as e` instead of `except error, e`
The latter throws SyntaxError on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D3613
from __future__ import absolute_importimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)