diff mercurial/templateutil.py @ 50929:18c8c18993f0

pycompat: drop usage of hasattr/getattr/setattr/delatt proxy The function remains to ease extensions transition, but we no longer use them in core.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 01 Sep 2023 00:09:55 +0200
parents d718eddf01d9
children f4733654f144
line wrap: on
line diff
--- a/mercurial/templateutil.py	Thu Aug 31 23:56:15 2023 +0200
+++ b/mercurial/templateutil.py	Fri Sep 01 00:09:55 2023 +0200
@@ -10,7 +10,6 @@
 import types
 
 from .i18n import _
-from .pycompat import getattr
 from . import (
     error,
     pycompat,