comparison mercurial/util.py @ 43087:66f2cc210a29

py3: manually import pycompat.setattr where it is needed Continuing to eliminate the implicit import of symbols in the Python 3 source transformer so we can eliminate it. Differential Revision: https://phab.mercurial-scm.org/D7007
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Oct 2019 14:58:42 -0400
parents eef9a2d67051
children c59eb1560c44
comparison
equal deleted inserted replaced
43086:bbcbb82e3589 43087:66f2cc210a29
33 import time 33 import time
34 import traceback 34 import traceback
35 import warnings 35 import warnings
36 36
37 from .thirdparty import attr 37 from .thirdparty import attr
38 from .pycompat import open 38 from .pycompat import (
39 open,
40 setattr,
41 )
39 from hgdemandimport import tracing 42 from hgdemandimport import tracing
40 from . import ( 43 from . import (
41 encoding, 44 encoding,
42 error, 45 error,
43 i18n, 46 i18n,