Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
PAL: Do not read sh run for trending
[csit.git]
/
resources
/
tools
/
presentation
/
convert_xml_json.py
diff --git
a/resources/tools/presentation/convert_xml_json.py
b/resources/tools/presentation/convert_xml_json.py
index
61c6e84
..
f1994df
100644
(file)
--- a/
resources/tools/presentation/convert_xml_json.py
+++ b/
resources/tools/presentation/convert_xml_json.py
@@
-28,6
+28,7
@@
import gzip
from os.path import join
from shutil import rmtree
from copy import deepcopy
from os.path import join
from shutil import rmtree
from copy import deepcopy
+from json import loads
from pal_utils import get_files
from pal_utils import get_files
@@
-207,7
+208,8
@@
def _export_test_from_xml_to_json(tid, in_data, out, template, metadata):
u"msg": u"show_runtime",
u"data": list()
}
u"msg": u"show_runtime",
u"data": list()
}
- for item in val.get(u"runtime", list()):
+ runtime = loads(val.get(u"runtime", list()))
+ for item in runtime:
for metric, m_data in item.items():
if metric == u"name":
continue
for metric, m_data in item.items():
if metric == u"name":
continue