comparison mercurial/filesetlang.py @ 50926: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 6000f5b25c9b
children f4733654f144
comparison
equal deleted inserted replaced
50925:d718eddf01d9 50926:18c8c18993f0
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 8
9 from .i18n import _ 9 from .i18n import _
10 from .pycompat import getattr
11 from . import ( 10 from . import (
12 error, 11 error,
13 parser, 12 parser,
14 pycompat, 13 pycompat,
15 ) 14 )