diff --git a/cinder/api/urlmap.py b/cinder/api/urlmap.py index ed1afb39ca2..9da4c24bc9c 100644 --- a/cinder/api/urlmap.py +++ b/cinder/api/urlmap.py @@ -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