TrivialFix of Import JSON

As per the comment#12 in [1], the if loop can be removed
and json can be directly imported from bench.py

[1]: https://review.openstack.org/#/c/264486/

TrivialFix
Depends-On:I7c8a1a39f0e86cbd38466c2dcd611a8f513c8adc
Change-Id: I519753b0db0d8eee70c84afa92dfab2b943afbac
This commit is contained in:
reedip 2016-01-28 17:43:34 +09:00 committed by Reedip
parent 035134dc5f
commit 5eb2f500fd
1 changed files with 1 additions and 4 deletions

View File

@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import json
import re
import sys
import uuid
@ -32,10 +33,6 @@ import swiftclient as client
from swiftbench.utils import config_true_value, using_http_proxy
try:
import simplejson as json
except ImportError:
import json
try:
from swift.common import direct_client