diff mercurial/cmdutil.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/cmdutil.py	Sun Oct 06 14:51:45 2019 -0400
+++ b/mercurial/cmdutil.py	Sun Oct 06 14:58:42 2019 -0400
@@ -19,7 +19,10 @@
     nullrev,
     short,
 )
-from .pycompat import open
+from .pycompat import (
+    open,
+    setattr,
+)
 
 from . import (
     bookmarks,