Remove python 2.5 workaround
keystoneclient doesn't support python 2.5 so remove this workaround code. Messing with global variables is a mistake anyways. Change-Id: I1567508cb1931b8c5365cfe6584e5a732c459db0
This commit is contained in:
@@ -28,7 +28,6 @@ from oslo_serialization import jsonutils
|
||||
import pkg_resources
|
||||
from positional import positional
|
||||
import requests
|
||||
from six.moves.urllib import parse as urlparse
|
||||
|
||||
try:
|
||||
import pickle
|
||||
@@ -49,11 +48,6 @@ except (ImportError, pkg_resources.DistributionNotFound):
|
||||
keyring = None
|
||||
pickle = None
|
||||
|
||||
# Python 2.5 compat fix
|
||||
if not hasattr(urlparse, 'parse_qsl'):
|
||||
import cgi
|
||||
urlparse.parse_qsl = cgi.parse_qsl
|
||||
|
||||
|
||||
from keystoneclient import _discover
|
||||
from keystoneclient import access
|
||||
|
Reference in New Issue
Block a user