Update for new exception syntax.
Review Request #4876 — Created Nov. 1, 2013 and submitted — Latest diff uploaded
Update for new exception syntax.
Python 2.6+ introduced a new syntax for catching exceptions with the exception
value. Instead of "except Exception, e
", it's now "except Exception as e
",
which is really much nicer. Since we're 2.6+ only now, we can convert to this.Testing done: Ran unit tests.
Ran unit tests.
Diff Revision 1 (Latest)
reviewboard/reviews/management/commands/index.py |
---|
reviewboard/reviews/ui/base.py |
---|
reviewboard/reviews/ui/markdownui.py |
---|
reviewboard/scmtools/bzr.py |
---|
reviewboard/scmtools/core.py |
---|
reviewboard/scmtools/cvs.py |
---|
reviewboard/scmtools/forms.py |
---|
reviewboard/scmtools/hg.py |
---|
reviewboard/scmtools/localfile.py |
---|
reviewboard/scmtools/models.py |
---|
reviewboard/scmtools/svn.py |
---|
reviewboard/scmtools/tests.py |
---|
reviewboard/scmtools/management/commands/registerscmtools.py |
---|
reviewboard/ssh/client.py |
---|
reviewboard/ssh/errors.py |
---|
reviewboard/ssh/storage.py |
---|
reviewboard/ssh/utils.py |
---|
reviewboard/testing/testcase.py |
---|
reviewboard/webapi/resources/__init__.py |
---|
reviewboard/webapi/resources/base_file_attachment.py |
---|
reviewboard/webapi/resources/base_screenshot.py |
---|
reviewboard/webapi/resources/diff.py |
---|
reviewboard/webapi/resources/hosting_service_account.py |
---|
reviewboard/webapi/resources/original_file.py |
---|
reviewboard/webapi/resources/patched_file.py |
---|
reviewboard/webapi/resources/repository.py |
---|
reviewboard/webapi/resources/review_request.py |
---|
reviewboard/webapi/resources/validate_diff.py |
---|