Mercurial > hg
comparison hgext/convert/cvs.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 | 8f9fbc665928 |
children | 1eab9e40c0c8 |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
10 import re | 10 import re |
11 import socket | 11 import socket |
12 | 12 |
13 from mercurial.i18n import _ | 13 from mercurial.i18n import _ |
14 from mercurial.pycompat import ( | 14 from mercurial.pycompat import ( |
15 getattr, | |
16 open, | 15 open, |
17 ) | 16 ) |
18 from mercurial import ( | 17 from mercurial import ( |
19 encoding, | 18 encoding, |
20 error, | 19 error, |