Commit cad6a51a authored by Joshua Haberman's avatar Joshua Haberman Committed by GitHub

Merge pull request #2819 from haberman/pythonexcept

update_failure_list.py: fixed Python "raise" statement.
parents bbfb9d52 3e6245e5
......@@ -57,7 +57,7 @@ for remove_file in (args.remove_list or []):
with open(remove_file) as f:
for line in f:
if line in add_set:
raise "Asked to both add and remove test: " + line
raise Exception("Asked to both add and remove test: " + line)
remove_set.add(line.strip())
add_list = sorted(add_set, reverse=True)
......
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