Commits (1)
...@@ -14,8 +14,9 @@ def formatNm(bas, topoToHruTmpPath, topoBflTmpPath, stats): ...@@ -14,8 +14,9 @@ def formatNm(bas, topoToHruTmpPath, topoBflTmpPath, stats):
# group stats by second column value # group stats by second column value
for stat in stats: for stat in stats:
statSpl = stat.strip().split() statSpl = stat.strip().split()
second = statSpl[2] if len(statSpl) > 2:
statDict[second].append(statSpl) second = statSpl[2]
statDict[second].append(statSpl)
# one value = one result line with accumulated values # one value = one result line with accumulated values
for sec in statDict: for sec in statDict:
......