Merge "Remove fallback for Python 2"

This commit is contained in:
Zuul 2024-10-18 16:41:07 +00:00 committed by Gerrit Code Review
commit 9b81871695

View File

@ -14,12 +14,9 @@
# under the License.
import re
from urllib.request import parse_http_list
import paste.urlmap
try:
from urllib.request import parse_http_list # pylint: disable=E0611
except ImportError:
from urllib2 import parse_http_list # Python 2
from cinder.api.openstack import wsgi