aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/graphstats.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-05-23 18:19:50 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-05-23 18:19:50 -0400
commitbf301a977ee7fab29ae06bf10da10a9730da09ea (patch)
tree8626b0bd6a38128fbee78a2ea6fd32a15eef3f00 /scripts/graphstats.py
parent3e1febce78d225b91f5a3dd95d4bec3a4874cfde (diff)
downloadkutter-bf301a977ee7fab29ae06bf10da10a9730da09ea.tar.gz
kutter-bf301a977ee7fab29ae06bf10da10a9730da09ea.tar.xz
kutter-bf301a977ee7fab29ae06bf10da10a9730da09ea.zip
graphstats: Make check for stats prefixes more robust
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/graphstats.py')
-rwxr-xr-xscripts/graphstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/graphstats.py b/scripts/graphstats.py
index 452cff72..26e6c606 100755
--- a/scripts/graphstats.py
+++ b/scripts/graphstats.py
@@ -34,7 +34,7 @@ def parse_log(logname, mcu):
prefix = ""
keyparts = {}
for p in parts[2:]:
- if p.endswith(':'):
+ if '=' not in p:
prefix = p
if prefix == mcu_prefix:
prefix = ''