Mercurial > public > mercurial-scm > hg
comparison mercurial/url.py @ 43089:c59eb1560c44
py3: manually import getattr where it is needed
The march continues.
Differential Revision: https://phab.mercurial-scm.org/D7009
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Oct 2019 16:55:18 -0400 |
parents | 687b865b95ad |
children | d783f945a701 |
comparison
equal
deleted
inserted
replaced
43088:0d612db7047c | 43089:c59eb1560c44 |
---|---|
13 import os | 13 import os |
14 import socket | 14 import socket |
15 import sys | 15 import sys |
16 | 16 |
17 from .i18n import _ | 17 from .i18n import _ |
18 from .pycompat import getattr | |
18 from . import ( | 19 from . import ( |
19 encoding, | 20 encoding, |
20 error, | 21 error, |
21 httpconnection as httpconnectionmod, | 22 httpconnection as httpconnectionmod, |
22 keepalive, | 23 keepalive, |