Mercurial > public > mercurial-scm > hg
comparison mercurial/util.py @ 43090:1f339b503a40
py3: manually import pycompat.delattr where it is needed
And with this change, we no longer need the auto-inserted import statement
in the source transformer, so it has been removed!
Differential Revision: https://phab.mercurial-scm.org/D7010
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Oct 2019 16:58:55 -0400 |
parents | c59eb1560c44 |
children | c95b2f40db7c |
comparison
equal
deleted
inserted
replaced
43089:c59eb1560c44 | 43090:1f339b503a40 |
---|---|
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 ( | 38 from .pycompat import ( |
39 delattr, | |
39 getattr, | 40 getattr, |
40 open, | 41 open, |
41 setattr, | 42 setattr, |
42 ) | 43 ) |
43 from hgdemandimport import tracing | 44 from hgdemandimport import tracing |