aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/input_data_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-11-12 19:04:07 +0100
committerTibor Frank <tifrank@cisco.com>2021-11-12 19:04:07 +0100
commit7d84c1e92f454ceb2159fcc17dd4338028d41f4d (patch)
tree7c962a3a810557a5239b4815c5d3ef6af91daa2c /resources/tools/presentation/input_data_parser.py
parent7b3cf8085cb05c8a327cecf6fd4cfb83430ee5e3 (diff)
Report: Show min/avg/max latency for aws - fixes
Change-Id: I119fa64da4b178cb6a8abe63fb16e0bc7f18fd70 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/input_data_parser.py')
-rw-r--r--resources/tools/presentation/input_data_parser.py18
1 files changed, 8 insertions, 10 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 461d7b423d..4fdc7e3353 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -518,17 +518,15 @@ class ExecutionChecker(ResultVisitor):
)
if all(hdr_lat):
return hdr_lat
- else:
- hdr_lat = (
- in_list_1[0], in_list_1[1], in_list_1[2],
- in_list_2[0], in_list_2[1], in_list_2[2]
- )
- for item in hdr_lat:
- if item in (u"-1", u"4294967295", u"0"):
- return None
- return hdr_lat
- return None
+ hdr_lat = (
+ in_list_1[0], in_list_1[1], in_list_1[2],
+ in_list_2[0], in_list_2[1], in_list_2[2]
+ )
+ for item in hdr_lat:
+ if item in (u"-1", u"4294967295", u"0"):
+ return None
+ return hdr_lat
try:
out_msg = (