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:
Gage Hugo 2022-04-27 11:02:56 -05:00
parent f1cb5448b8
commit 2ad0531bb0
1 changed files with 1 additions and 6 deletions

View File

@ -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'