aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/utils/report/get_indices.py
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-09-18 13:46:43 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-09-18 13:46:43 +0800
commit5d67fdf522b7ba460f8337e3c6cfea3b340c46f8 (patch)
tree23ebd4b11ccc15e49242fc13803897ebdc6e28d5 /legacy/utils/report/get_indices.py
parent25086394f9ebd7bd90698ea54734f27ee9d4517e (diff)
delete legacy code from branch stable/euphrates
This directory doesn't need to publish in euphrates. Change-Id: I2d88b85c272ca3df6cc504e08968e9432e2dd96d Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'legacy/utils/report/get_indices.py')
-rw-r--r--legacy/utils/report/get_indices.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/legacy/utils/report/get_indices.py b/legacy/utils/report/get_indices.py
deleted file mode 100644
index 42db6584..00000000
--- a/legacy/utils/report/get_indices.py
+++ /dev/null
@@ -1,16 +0,0 @@
-##############################################################################
-# Copyright (c) 2017 ZTE Corporation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-import json
-
-
-def get_index(suite):
- with open('../../results/' + suite + '.json') as result_file:
- result_djson = json.load(result_file)
- index = result_djson['index']
- return index