Drop implementation to keep compatibility with Python 2.5
... because this library no longer supports such old python runtime. Change-Id: Id662d6d68cac940f6d0f61ab49653e7642b3e190
This commit is contained in:
parent
0415e4bc88
commit
1941116aad
@ -40,11 +40,6 @@ try:
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
|
||||
# Python 2.5 compat fix
|
||||
if not hasattr(urlparse, 'parse_qsl'):
|
||||
import cgi
|
||||
urlparse.parse_qsl = cgi.parse_qsl
|
||||
|
||||
osprofiler_web = importutils.try_import("osprofiler.web")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user