diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2017-03-09 14:58:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 14:58:01 -0800 |
commit | cad6a51a30d021bc25932f3d0f98b4593463a0c6 (patch) | |
tree | c6ee1e14e921cb44b9f8d36db4654d32035b212b | |
parent | bbfb9d52da5d44f838bef2caa2be55d57a9d29a8 (diff) | |
parent | 3e6245e5d725a9fa7afc13eb94c0c076c7c07fa2 (diff) | |
download | protobuf-cad6a51a30d021bc25932f3d0f98b4593463a0c6.tar.gz protobuf-cad6a51a30d021bc25932f3d0f98b4593463a0c6.tar.bz2 protobuf-cad6a51a30d021bc25932f3d0f98b4593463a0c6.zip |
Merge pull request #2819 from haberman/pythonexcept
update_failure_list.py: fixed Python "raise" statement.
-rwxr-xr-x | conformance/update_failure_list.py | 2 |
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) |