Remove fallback for Python 2

Python 2 is no longer supported, thus fallback to urllib2 is no longer
used.

Change-Id: I68d769f140d7114b12344c6d69974affdb7badaf
This commit is contained in:
Takashi Kajinami 2024-05-07 21:14:02 +09:00
parent 842fda18e5
commit b6d7129a53
1 changed files with 1 additions and 4 deletions

View File

@ -14,10 +14,7 @@
# under the License.
import re
try:
from urllib.request import parse_http_list # noqa
except ImportError:
from urllib2 import parse_http_list # noqa
from urllib.request import parse_http_list
import paste.urlmap