Skip to content
Permalink
Browse files

Fix tidy issues in wpt-summarize.py.

  • Loading branch information
jdm committed Nov 22, 2019
1 parent 5867e11 commit 46af28a0e159ca8cb749cff7123175a8e9f95309
Showing with 7 additions and 7 deletions.
  1. +7 −7 etc/wpt-summarize.py
@@ -13,7 +13,7 @@
import json

full_search = len(sys.argv) > 3 and sys.argv[3] == '--full'

with open(sys.argv[1]) as f:
data = f.readlines()
thread = None
@@ -25,13 +25,13 @@
if "action" in entry and entry["action"] == "test_end":
thread = None
else:
if "action" in entry and \
entry["action"] == "test_start" and \
entry["test"] == sys.argv[2]:
if ("action" in entry and
entry["action"] == "test_start" and
entry["test"] == sys.argv[2]):
thread = entry["thread"]
print(json.dumps(entry))
elif full_search and \
"command" in entry and \
sys.argv[2] in entry["command"]:
elif (full_search and
"command" in entry and
sys.argv[2] in entry["command"]):
thread = entry["thread"]
print(json.dumps(entry))

0 comments on commit 46af28a

Please sign in to comment.
You can’t perform that action at this time.