Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/sslutil.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 | 03fc41fe8aa1 |
comparison
equal
deleted
inserted
replaced
50951:d718eddf01d9 | 50952:18c8c18993f0 |
---|---|
13 import re | 13 import re |
14 import ssl | 14 import ssl |
15 import warnings | 15 import warnings |
16 | 16 |
17 from .i18n import _ | 17 from .i18n import _ |
18 from .pycompat import getattr | |
19 from .node import hex | 18 from .node import hex |
20 from . import ( | 19 from . import ( |
21 encoding, | 20 encoding, |
22 error, | 21 error, |
23 pycompat, | 22 pycompat, |