Mercurial > public > mercurial-scm > hg
comparison hgext/fastannotate/context.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 | 649d3ac37a12 |
comparison
equal
deleted
inserted
replaced
43088:0d612db7047c | 43089:c59eb1560c44 |
---|---|
12 import hashlib | 12 import hashlib |
13 import os | 13 import os |
14 | 14 |
15 from mercurial.i18n import _ | 15 from mercurial.i18n import _ |
16 from mercurial.pycompat import ( | 16 from mercurial.pycompat import ( |
17 getattr, | |
17 open, | 18 open, |
18 setattr, | 19 setattr, |
19 ) | 20 ) |
20 from mercurial import ( | 21 from mercurial import ( |
21 error, | 22 error, |