Remove python 2 workaround in fetch_wheels.sh
This change removes an import workaround for python 2 in the fetch_wheels script that is no longer needed since openstack has moved away from python 2. This is part of the effort to remove all the python 2 workarounds in the loci repo. Change-Id: Icccec48297cdd18577ec3fb28efa173e3a7ef000
This commit is contained in:
parent
f1cb5448b8
commit
2ad0531bb0
|
@ -6,12 +6,7 @@ import platform
|
|||
import re
|
||||
import ssl
|
||||
from distutils.util import strtobool
|
||||
|
||||
try:
|
||||
import urllib2
|
||||
except ImportError:
|
||||
# python3
|
||||
from urllib import request as urllib2
|
||||
from urllib import request as urllib2
|
||||
|
||||
DOCKER_REGISTRY='registry.hub.docker.com'
|
||||
|
||||
|
|
Loading…
Reference in New Issue