comparison hgext/lfs/wrapper.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 607e94e01851
comparison
equal deleted inserted replaced
50928:d718eddf01d9 50929:18c8c18993f0
8 8
9 import hashlib 9 import hashlib
10 10
11 from mercurial.i18n import _ 11 from mercurial.i18n import _
12 from mercurial.node import bin, hex, short 12 from mercurial.node import bin, hex, short
13 from mercurial.pycompat import (
14 getattr,
15 setattr,
16 )
17 13
18 from mercurial import ( 14 from mercurial import (
19 bundle2, 15 bundle2,
20 changegroup, 16 changegroup,
21 cmdutil, 17 cmdutil,