Unverified Commit 9bdf117b authored by Julien Veyssier's avatar Julien Veyssier
Browse files

attempt to fix problem if stats are empty in formatNm

Signed-off-by: default avatarJulien Veyssier <eneiluj@posteo.net>
parent a269c7dc
......@@ -14,8 +14,9 @@ def formatNm(bas, topoToHruTmpPath, topoBflTmpPath, stats):
# group stats by second column value
for stat in stats:
statSpl = stat.strip().split()
second = statSpl[2]
if len(statSpl) > 2:
second = statSpl[2]
# one value = one result line with accumulated values
for sec in statDict:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment