Merge lp:~brian.curtin/ubuntu-sso-client/py3-exceptions into lp:ubuntu-sso-client
Proposed by
Brian Curtin
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | dobey | ||||
Approved revision: | 975 | ||||
Merged at revision: | 974 | ||||
Proposed branch: | lp:~brian.curtin/ubuntu-sso-client/py3-exceptions | ||||
Merge into: | lp:ubuntu-sso-client | ||||
Diff against target: |
216 lines (+19/-19) 14 files modified
ubuntu_sso/account.py (+2/-2) ubuntu_sso/networkstate/darwin.py (+1/-1) ubuntu_sso/networkstate/linux.py (+2/-2) ubuntu_sso/networkstate/windows.py (+1/-1) ubuntu_sso/qt/proxy_dialog.py (+1/-1) ubuntu_sso/utils/__init__.py (+1/-1) ubuntu_sso/utils/runner/glib.py (+1/-1) ubuntu_sso/utils/runner/tests/test_glib.py (+1/-1) ubuntu_sso/utils/runner/tests/test_qt.py (+2/-2) ubuntu_sso/utils/runner/tx.py (+2/-2) ubuntu_sso/utils/txsecrets.py (+1/-1) ubuntu_sso/utils/webclient/common.py (+2/-2) ubuntu_sso/utils/webclient/qtnetwork.py (+1/-1) ubuntu_sso/utils/webclient/timestamp.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~brian.curtin/ubuntu-sso-client/py3-exceptions | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Approve | ||
Roberto Alsina (community) | Approve | ||
Review via email: mp+111637@code.launchpad.net |
Commit message
Use Python 3 style exception handling syntax.
Description of the change
Convert remaining usage of exception handling in the form "except Exception, e" to the format introduced in Python 3 and backported to 2.6, "except Exception as e". The latter format is already used almost everywhere in the codebase, but several places used the old format.
To post a comment you must log in.
Can we have bugs for these py3 related issues?