Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/webcommands.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 |
---|---|
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 getattr | |
17 | 18 |
18 from .common import ( | 19 from .common import ( |
19 ErrorResponse, | 20 ErrorResponse, |
20 HTTP_FORBIDDEN, | 21 HTTP_FORBIDDEN, |
21 HTTP_NOT_FOUND, | 22 HTTP_NOT_FOUND, |