Merge lp:~brian.curtin/ubuntu-sso-client/py3-unicode-part-2 into lp:ubuntu-sso-client
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | dobey on 2012-07-31 | ||||
| Approved revision: | 988 | ||||
| Merged at revision: | 988 | ||||
| Proposed branch: | lp:~brian.curtin/ubuntu-sso-client/py3-unicode-part-2 | ||||
| Merge into: | lp:ubuntu-sso-client | ||||
| Prerequisite: | lp:~brian.curtin/ubuntu-sso-client/py3-unicode | ||||
| Diff against target: |
594 lines (+106/-78) 13 files modified
ubuntu_sso/qt/__init__.py (+5/-3) ubuntu_sso/qt/common.py (+10/-7) ubuntu_sso/qt/current_user_sign_in_page.py (+12/-9) ubuntu_sso/qt/email_verification_page.py (+3/-2) ubuntu_sso/qt/forgotten_password_page.py (+4/-3) ubuntu_sso/qt/loadingoverlay.py (+3/-1) ubuntu_sso/qt/main/__init__.py (+3/-3) ubuntu_sso/qt/main/tests/test_main.py (+3/-2) ubuntu_sso/qt/proxy_dialog.py (+5/-2) ubuntu_sso/qt/reset_password_page.py (+12/-9) ubuntu_sso/qt/setup_account_page.py (+31/-25) ubuntu_sso/qt/tests/__init__.py (+13/-11) ubuntu_sso/qt/ubuntu_sso_wizard.py (+2/-1) |
||||
| To merge this branch: | bzr merge lp:~brian.curtin/ubuntu-sso-client/py3-unicode-part-2 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Mike McCracken (community) | Approve on 2012-07-31 | ||
| Alejandro J. Cura (community) | 2012-07-25 | Approve on 2012-07-30 | |
|
Review via email:
|
|||
Commit Message
The second of three changes to prepare SSO for Python 3 Unicode usage.
Description of the Change
The second of three branches to prepare for Python 3's Unicode usage. This merge proposal mostly contains changes from unicode construction to the compat.text_type wrapper. There are a few StringIO changes, and only a few changes to Unicode literals. It is a follow-up to lp:~brian.curtin/ubuntu-sso-client/py3-unicode
This change covers modules in the following packages:
ubuntu_sso.qt
ubuntu_sso.main
| Mike McCracken (mikemc) wrote : | # |
Tests pass, but IRL on darwin the captcha fails to work because it needs to use io.BytesIO instead of io.StringIO in ubuntu_
With that tweak, everything works for me.
Here's the traceback, for reference:
File "/Users/
pil_
File "/Users/
save_
File "/Users/
fp.
exceptions.
| Mike McCracken (mikemc) wrote : | # |
per discussion in IRC, we'll fix the stringIO thing in a separate branch
| Ubuntu One Auto Pilot (otto-pilot) wrote : | # |
The prerequisite https:/

Code looks fine, and all tests pass.
While trying to test it IRL I get stuck with the progress dialog when creating a new account; but since this currently happens with both trunk and nightlies, it looks like it's not a problem with this code.