diff options
author | 2017-06-19 20:14:23 -0700 | |
---|---|---|
committer | 2017-06-20 08:58:43 -0700 | |
commit | 06795cb442226dd9b6766bc3adcd63aa15c9b10c (patch) | |
tree | 2c1e11ded51eee1588d17479268481510a576e68 /tools/profiling/microbenchmarks/bm_json.py | |
parent | 61a75993f5fca316a3636f4c7a44ae5831a9bec9 (diff) |
Address github comments
Diffstat (limited to 'tools/profiling/microbenchmarks/bm_json.py')
-rw-r--r-- | tools/profiling/microbenchmarks/bm_json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/profiling/microbenchmarks/bm_json.py b/tools/profiling/microbenchmarks/bm_json.py index 930287e0d6..f6082fe7b4 100644 --- a/tools/profiling/microbenchmarks/bm_json.py +++ b/tools/profiling/microbenchmarks/bm_json.py @@ -167,7 +167,7 @@ def parse_name(name): return out def expand_json(js, js2 = None): - assert(js or js2) + if not js and not js2: raise StopIteration() if not js: js = js2 for bm in js['benchmarks']: if bm['name'].endswith('_stddev') or bm['name'].endswith('_mean'): continue |