configwizard: remove unused import of `configitems`
authorConnor Sheehan <sheehan@mozilla.com>
Mon, 09 May 2022 14:51:25 -0400
changeset 7841 409384b3a38f58f871bbdff0297977f912337f49
parent 7840 b6b45ea4f8b1aa9ba0488c984b0942847d97fee1
child 7842 df204191993be7e058f46cc9a0f87501a2465682
push id3937
push usercosheehan@mozilla.com
push dateMon, 09 May 2022 18:54:08 +0000
treeherderversion-control-tools@409384b3a38f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
configwizard: remove unused import of `configitems`
hgext/configwizard/__init__.py
--- a/hgext/configwizard/__init__.py
+++ b/hgext/configwizard/__init__.py
@@ -385,20 +385,16 @@ except (ImportError, AttributeError):
     except AttributeError:
         command = None
 
 try:
     from mercurial import registrar
 except ImportError:
     registrar = None
 
-try:
-    from mercurial import configitems
-except ImportError:
-    configitems = None
 
 def bytesio():
     if util.versiontuple(n=2) >= (6, 2):
         return io.BytesIO()
     return pycompat.bytesio()
 
 def _vcthome():  # Returns the directory where the vct clone is located
     here = os.path.dirname(os.path.abspath(__file__))