From d556f845f37a0be6dd5fb01b6b3c5ef2bc733d1e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 3 May 2024 22:08:35 +0900 Subject: [PATCH] Remove unused fallback to simplejson Python provides the bulit-in json module since Python 2.6 . Change-Id: Id6b92c28d26ad4bb50da31224817e726b27d73b9 --- requirements.txt | 1 - tackerclient/client.py | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index da4a0aca..6323b210 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,6 @@ iso8601>=0.1.11 # MIT netaddr>=0.7.18 # BSD requests>=2.14.2 # Apache-2.0 python-keystoneclient>=3.8.0 # Apache-2.0 -simplejson>=3.5.1 # MIT stevedore>=1.20.0 # Apache-2.0 Babel!=2.4.0,>=2.3.4 # BSD oslo.i18n>=3.15.3 # Apache-2.0 diff --git a/tackerclient/client.py b/tackerclient/client.py index c565248c..67acc6fe 100644 --- a/tackerclient/client.py +++ b/tackerclient/client.py @@ -14,10 +14,7 @@ # under the License. # -try: - import json -except ImportError: - import simplejson as json +import json import logging import os