Mercurial > hg
comparison mercurial/config.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 | 642e31cb55f0 |
children | 7bd7fcc711f2 |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
8 | 8 |
9 import errno | 9 import errno |
10 import os | 10 import os |
11 | 11 |
12 from .i18n import _ | 12 from .i18n import _ |
13 from .pycompat import getattr | |
14 from . import ( | 13 from . import ( |
15 encoding, | 14 encoding, |
16 error, | 15 error, |
17 util, | 16 util, |
18 ) | 17 ) |