Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/util.py Sun Oct 06 14:51:45 2019 -0400 +++ b/mercurial/util.py Sun Oct 06 14:58:42 2019 -0400 @@ -35,7 +35,10 @@ import warnings from .thirdparty import attr -from .pycompat import open +from .pycompat import ( + open, + setattr, +) from hgdemandimport import tracing from . import ( encoding,