mercurial/hgweb/request.py
changeset 51725 278af66e6595
parent 50817 9ed281bbf864
child 51859 f4733654f144
equal deleted inserted replaced
51724:2e9e62242451 51725:278af66e6595
     7 # GNU General Public License version 2 or any later version.
     7 # GNU General Public License version 2 or any later version.
     8 
     8 
     9 
     9 
    10 # import wsgiref.validate
    10 # import wsgiref.validate
    11 
    11 
       
    12 import typing
       
    13 
    12 from ..thirdparty import attr
    14 from ..thirdparty import attr
       
    15 
       
    16 # Force pytype to use the non-vendored package
       
    17 if typing.TYPE_CHECKING:
       
    18     # noinspection PyPackageRequirements
       
    19     import attr
       
    20 
    13 from .. import (
    21 from .. import (
    14     error,
    22     error,
    15     pycompat,
    23     pycompat,
    16     util,
    24     util,
    17 )
    25 )