Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgweb_mod.py @ 50952: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 | 99632adff795 |
comparison
equal
deleted
inserted
replaced
50951:d718eddf01d9 | 50952:18c8c18993f0 |
---|---|
15 HTTP_BAD_REQUEST, | 15 HTTP_BAD_REQUEST, |
16 cspvalues, | 16 cspvalues, |
17 permhooks, | 17 permhooks, |
18 statusmessage, | 18 statusmessage, |
19 ) | 19 ) |
20 from ..pycompat import getattr | |
21 | 20 |
22 from .. import ( | 21 from .. import ( |
23 encoding, | 22 encoding, |
24 error, | 23 error, |
25 extensions, | 24 extensions, |