diff mercurial/pycompat.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 127cc1f72e70
line wrap: on
line diff
--- a/mercurial/pycompat.py	Sun Oct 06 16:55:18 2019 -0400
+++ b/mercurial/pycompat.py	Sun Oct 06 16:58:55 2019 -0400
@@ -355,6 +355,7 @@
     strurl = identity
     bytesurl = identity
     open = open
+    delattr = delattr
     getattr = getattr
     hasattr = hasattr
     setattr = setattr