Commit 5f0be34c authored by cbruni's avatar cbruni Committed by Commit bot

[tools] Fix callstats.py script

R=ishell@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2505853005
Cr-Commit-Position: refs/heads/master@{#41061}
parent 0d258b35
......@@ -395,7 +395,7 @@ def read_stats(path, domain, args):
# Calculate the Parse-Total group
group_data = { 'time': 0, 'count': 0 }
for group_name, regexp in groups:
if !group_name.startswith('Group-Parse'): continue
if not group_name.startswith('Group-Parse'): continue
group_data['time'] += entries[group_name]['time']
group_data['count'] += entries[group_name]['count']
entries['Group-Parse-Total'] = group_data
......
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