Mercurial > hg
comparison mercurial/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 | eef9a2d67051 |
children | d783f945a701 |
comparison
equal
deleted
inserted
replaced
43088:0d612db7047c | 43089:c59eb1560c44 |
---|---|
21 nullrev, | 21 nullrev, |
22 short, | 22 short, |
23 wdirfilenodeids, | 23 wdirfilenodeids, |
24 wdirhex, | 24 wdirhex, |
25 ) | 25 ) |
26 from .pycompat import open | 26 from .pycompat import ( |
27 getattr, | |
28 open, | |
29 ) | |
27 from . import ( | 30 from . import ( |
28 copies, | 31 copies, |
29 dagop, | 32 dagop, |
30 encoding, | 33 encoding, |
31 error, | 34 error, |