comparison mercurial/chgserver.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 d718eddf01d9
children 8b2ea2246a5f
comparison
equal deleted inserted replaced
50925:d718eddf01d9 50926:18c8c18993f0
47 import stat 47 import stat
48 import struct 48 import struct
49 import time 49 import time
50 50
51 from .i18n import _ 51 from .i18n import _
52 from .pycompat import (
53 getattr,
54 setattr,
55 )
56 from .node import hex 52 from .node import hex
57 53
58 from . import ( 54 from . import (
59 commandserver, 55 commandserver,
60 encoding, 56 encoding,