comparison mercurial/urllibcompat.py @ 43089:c59eb1560c44

py3: manually import getattr where it is needed The march continues. Differential Revision: https://phab.mercurial-scm.org/D7009
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Oct 2019 16:55:18 -0400
parents 687b865b95ad
children 9f70512ae2cf
comparison
equal deleted inserted replaced
43088:0d612db7047c 43089:c59eb1560c44
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 from __future__ import absolute_import 7 from __future__ import absolute_import
8 8
9 from .pycompat import getattr
9 from . import pycompat 10 from . import pycompat
10 11
11 _sysstr = pycompat.sysstr 12 _sysstr = pycompat.sysstr
12 13
13 14