contrib/benchmarks/__init__.py
changeset 50928 d718eddf01d9
parent 48875 6000f5b25c9b
--- a/contrib/benchmarks/__init__.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/contrib/benchmarks/__init__.py	Thu Aug 31 23:56:15 2023 +0200
@@ -40,7 +40,6 @@
     extensions,
     hg,
     ui as uimod,
-    util,
 )
 
 basedir = os.path.abspath(
@@ -66,7 +65,7 @@
     os.environ["HGRCPATH"] = os.environ.get("ASVHGRCPATH", "")
     # for "historical portability"
     # ui.load() has been available since d83ca85
-    if util.safehasattr(uimod.ui, "load"):
+    if hasattr(uimod.ui, "load"):
         ui = uimod.ui.load()
     else:
         ui = uimod.ui()