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:
parent
842fda18e5
commit
b6d7129a53
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue