aboutsummaryrefslogtreecommitdiffstats
path: root/data/report/get_indices.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-07-15 02:34:31 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-15 02:34:31 +0000
commitd24a9f7101a0eacdd4dfae75509d1839ac07ad79 (patch)
tree2134ddbc4bbb74aabb3bd1e84960fb1aac885c7d /data/report/get_indices.py
parentb184818fb598227f19bc821ee1ef9049165265e0 (diff)
parentf385a6d107b3c5c479583e74e18ef3c5fa55b304 (diff)
Merge "Fix pep8 errors for python files in benchmarks,data,dashboard"
Diffstat (limited to 'data/report/get_indices.py')
-rw-r--r--data/report/get_indices.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/report/get_indices.py b/data/report/get_indices.py
index e23fdb89..91219c0b 100644
--- a/data/report/get_indices.py
+++ b/data/report/get_indices.py
@@ -1,8 +1,8 @@
import json
+
def get_index(suite):
- with open ('../../results/'+suite+'.json') as result_file:
- result_djson=json.load(result_file)
- index=result_djson['index']
-
+ with open('../../results/' + suite + '.json') as result_file:
+ result_djson = json.load(result_file)
+ index = result_djson['index']
return index