comparison mercurial/hgweb/webutil.py @ 43087:66f2cc210a29

py3: manually import pycompat.setattr where it is needed Continuing to eliminate the implicit import of symbols in the Python 3 source transformer so we can eliminate it. Differential Revision: https://phab.mercurial-scm.org/D7007
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Oct 2019 14:58:42 -0400
parents 687b865b95ad
children d783f945a701
comparison
equal deleted inserted replaced
43086:bbcbb82e3589 43087:66f2cc210a29
13 import os 13 import os
14 import re 14 import re
15 15
16 from ..i18n import _ 16 from ..i18n import _
17 from ..node import hex, nullid, short 17 from ..node import hex, nullid, short
18 from ..pycompat import setattr
18 19
19 from .common import ( 20 from .common import (
20 ErrorResponse, 21 ErrorResponse,
21 HTTP_BAD_REQUEST, 22 HTTP_BAD_REQUEST,
22 HTTP_NOT_FOUND, 23 HTTP_NOT_FOUND,