comparison mercurial/hgweb/webutil.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 607e94e01851
comparison
equal deleted inserted replaced
50925:d718eddf01d9 50926:18c8c18993f0
12 import os 12 import os
13 import re 13 import re
14 14
15 from ..i18n import _ 15 from ..i18n import _
16 from ..node import hex, short 16 from ..node import hex, short
17 from ..pycompat import setattr
18 17
19 from .common import ( 18 from .common import (
20 ErrorResponse, 19 ErrorResponse,
21 HTTP_BAD_REQUEST, 20 HTTP_BAD_REQUEST,
22 HTTP_NOT_FOUND, 21 HTTP_NOT_FOUND,