Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Report: Add data
[csit.git]
/
resources
/
tools
/
presentation
/
generator_tables.py
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
195380f
..
b98f32c
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-184,9
+184,11
@@
def table_performance_improvements(table, input_data):
["value"]) / 1000000)
except (KeyError, TypeError):
# No data, ignore
["value"]) / 1000000)
except (KeyError, TypeError):
# No data, ignore
- pass
+ continue
if data_lst:
tbl_item.append({"data": eval(operation)(data_lst)})
if data_lst:
tbl_item.append({"data": eval(operation)(data_lst)})
+ else:
+ tbl_item.append({"data": None})
elif cmd == "operation":
operation = args[0]
try:
elif cmd == "operation":
operation = args[0]
try:
@@
-197,7
+199,7
@@
def table_performance_improvements(table, input_data):
else:
tbl_item.append({"data": None})
except IndexError:
else:
tbl_item.append({"data": None})
except IndexError:
- logging.error("No data for {0}".format(tbl_item[
0
]))
+ logging.error("No data for {0}".format(tbl_item[
1]["data"
]))
tbl_item.append({"data": None})
continue
else:
tbl_item.append({"data": None})
continue
else: