Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/webcommands.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 | d8c8a923ee9b |
children | f15cb5111a1e |
comparison
equal
deleted
inserted
replaced
50925:d718eddf01d9 | 50926:18c8c18993f0 |
---|---|
11 import os | 11 import os |
12 import re | 12 import re |
13 | 13 |
14 from ..i18n import _ | 14 from ..i18n import _ |
15 from ..node import hex, short | 15 from ..node import hex, short |
16 from ..pycompat import getattr | |
17 | 16 |
18 from .common import ( | 17 from .common import ( |
19 ErrorResponse, | 18 ErrorResponse, |
20 HTTP_FORBIDDEN, | 19 HTTP_FORBIDDEN, |
21 HTTP_NOT_FOUND, | 20 HTTP_NOT_FOUND, |