setup.py
changeset 44440 d543ef183eb8
parent 44413 4cabeea6d214
parent 44378 bb58931d0c4f
child 44452 9d2b2df2c2ba
--- a/setup.py	Wed Mar 04 14:21:23 2020 -0500
+++ b/setup.py	Thu Mar 05 10:52:51 2020 -0500
@@ -665,7 +665,9 @@
         # here no extension enabled, disabled() lists up everything
         code = (
             'import pprint; from mercurial import extensions; '
-            'pprint.pprint(extensions.disabled())'
+            'ext = extensions.disabled();'
+            'ext.pop("__index__", None);'
+            'pprint.pprint(ext)'
         )
         returncode, out, err = runcmd(
             [sys.executable, '-c', code], localhgenv()