Mercurial > public > mercurial-scm > hg
comparison mercurial/extensions.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 | 66f2cc210a29 |
children | d783f945a701 |
comparison
equal
deleted
inserted
replaced
43088:0d612db7047c | 43089:c59eb1560c44 |
---|---|
17 from .i18n import ( | 17 from .i18n import ( |
18 _, | 18 _, |
19 gettext, | 19 gettext, |
20 ) | 20 ) |
21 from .pycompat import ( | 21 from .pycompat import ( |
22 getattr, | |
22 open, | 23 open, |
23 setattr, | 24 setattr, |
24 ) | 25 ) |
25 | 26 |
26 from . import ( | 27 from . import ( |