diff mercurial/pycompat.py @ 43877: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 (2019-10-06)
parents c59eb1560c44
children 127cc1f72e70
line wrap: on
line diff
--- a/mercurial/pycompat.py
+++ b/mercurial/pycompat.py
@@ -355,6 +355,7 @@
     strurl = identity
     bytesurl = identity
     open = open
+    delattr = delattr
     getattr = getattr
     hasattr = hasattr
     setattr = setattr