Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commandserver.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 |
---|---|
22 selectors.BaseSelector | 22 selectors.BaseSelector |
23 except ImportError: | 23 except ImportError: |
24 from .thirdparty import selectors2 as selectors | 24 from .thirdparty import selectors2 as selectors |
25 | 25 |
26 from .i18n import _ | 26 from .i18n import _ |
27 from .pycompat import getattr | |
27 from . import ( | 28 from . import ( |
28 encoding, | 29 encoding, |
29 error, | 30 error, |
30 loggingutil, | 31 loggingutil, |
31 pycompat, | 32 pycompat, |