comparison mercurial/hgweb/wsgiheaders.py @ 48966:6000f5b25c9b

py2: remove simple from __future__ statements These were needed for Python 2 support. Now that our linter no longer mandates these, we can start deleting them. Differential Revision: https://phab.mercurial-scm.org/D12254
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 03 Mar 2022 17:34:00 +0100
parents 6d3b67a837a6
children 642e31cb55f0
comparison
equal deleted inserted replaced
48965:af0b21d5a930 48966:6000f5b25c9b
7 written by Barry Warsaw. 7 written by Barry Warsaw.
8 """ 8 """
9 9
10 # Regular expression that matches `special' characters in parameters, the 10 # Regular expression that matches `special' characters in parameters, the
11 # existence of which force quoting of the parameter value. 11 # existence of which force quoting of the parameter value.
12 from __future__ import absolute_import, print_function
13 12
14 import re 13 import re
15 14
16 tspecials = re.compile(br'[ ()<>@,;:\\"/\[\]?=]') 15 tspecials = re.compile(br'[ ()<>@,;:\\"/\[\]?=]')
17 16