From bf301a977ee7fab29ae06bf10da10a9730da09ea Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 23 May 2018 18:19:50 -0400 Subject: graphstats: Make check for stats prefixes more robust Signed-off-by: Kevin O'Connor --- scripts/graphstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/graphstats.py') 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 = '' -- cgit v1.2.3-70-g09d2