From 3e6245e5d725a9fa7afc13eb94c0c076c7c07fa2 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Thu, 9 Mar 2017 14:48:28 -0800 Subject: update_failure_list.py: fixed Python "raise" statement. --- conformance/update_failure_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conformance/update_failure_list.py') 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) -- cgit v1.2.3