Joe McDonnell has submitted this change and it was merged. (
http://gerrit.cloudera.org:8080/19553 )
Change subject: IMPALA-11952 (part 3): Fix raise syntax
......................................................................
IMPALA-11952 (part 3): Fix raise syntax
Python 3 does not support this old raise syntax:
raise Exception, "message"
Instead, it should be:
raise Exception("message")
This fixes all locations with the old raise syntax.
Testing:
- check-python-syntax.sh shows no errors from raise syntax
Change-Id: I2722dcc2727fb65c7aedede12d73ca5b088326d7
Reviewed-on: http://gerrit.cloudera.org:8080/19553
Reviewed-by: Joe McDonnell <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Michael Smith <[email protected]>
---
M tests/beeswax/impala_beeswax.py
M tests/common/impala_test_suite.py
M tests/common/test_dimensions.py
M tests/common/test_result_verifier.py
M tests/common/test_vector.py
M tests/util/plugin_runner.py
M tests/util/test_file_parser.py
7 files changed, 21 insertions(+), 21 deletions(-)
Approvals:
Joe McDonnell: Looks good to me, approved
Michael Smith: Looks good to me, approved; Verified
--
To view, visit http://gerrit.cloudera.org:8080/19553
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I2722dcc2727fb65c7aedede12d73ca5b088326d7
Gerrit-Change-Number: 19553
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>