aboutsummaryrefslogtreecommitdiffhomepage
path: root/conformance/update_failure_list.py
diff options
context:
space:
mode:
authorGravatar Josh Haberman <jhaberman@gmail.com>2017-03-09 14:48:28 -0800
committerGravatar Josh Haberman <jhaberman@gmail.com>2017-03-09 14:48:28 -0800
commit3e6245e5d725a9fa7afc13eb94c0c076c7c07fa2 (patch)
treee55b1c258e28d281227e4f4baf586ff1a5369de9 /conformance/update_failure_list.py
parent2b7430d96aeff2bb624c8d52182ff5e4b9f7f18a (diff)
update_failure_list.py: fixed Python "raise" statement.
Diffstat (limited to 'conformance/update_failure_list.py')
-rwxr-xr-xconformance/update_failure_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conformance/update_failure_list.py b/conformance/update_failure_list.py
index 69f210e3..63f453df 100755
--- a/conformance/update_failure_list.py
+++ b/conformance/update_failure_list.py
@@ -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)