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:
Takashi Kajinami 2023-11-05 18:25:03 +09:00
parent 0415e4bc88
commit 1941116aad
1 changed files with 0 additions and 5 deletions

View File

@ -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")