Mercurial > hg
comparison mercurial/color.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 | 949b4d545c90 |
comparison
equal
deleted
inserted
replaced
43088:0d612db7047c | 43089:c59eb1560c44 |
---|---|
8 from __future__ import absolute_import | 8 from __future__ import absolute_import |
9 | 9 |
10 import re | 10 import re |
11 | 11 |
12 from .i18n import _ | 12 from .i18n import _ |
13 from .pycompat import getattr | |
13 | 14 |
14 from . import ( | 15 from . import ( |
15 encoding, | 16 encoding, |
16 pycompat, | 17 pycompat, |
17 ) | 18 ) |