Merge lp:~nataliabidart/ubuntu-sso-client/no-more-two-tokens-stable into lp:ubuntu-sso-client/stable-1-0
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Natalia Bidart | ||||
Approved revision: | 642 | ||||
Merged at revision: | 642 | ||||
Proposed branch: | lp:~nataliabidart/ubuntu-sso-client/no-more-two-tokens-stable | ||||
Merge into: | lp:ubuntu-sso-client/stable-1-0 | ||||
Diff against target: |
120 lines (+13/-17) 3 files modified
ubuntu_sso/gui.py (+3/-3) ubuntu_sso/main.py (+5/-9) ubuntu_sso/tests/test_main.py (+5/-5) |
||||
To merge this branch: | bzr merge lp:~nataliabidart/ubuntu-sso-client/no-more-two-tokens-stable | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Roman Yepishev (community) | fieldtest | Approve | |
Roberto Alsina (community) | Approve | ||
Review via email: mp+43836@code.launchpad.net |
Commit message
* Avoid generating an extra token when attempting to validate a user account (LP: #687523).
Description of the change
To test, run from this branch:
killall ubuntu-sso-login; DEBUG=True PYTHONPATH=. ./bin/ubuntu-
Remove all your Ubuntu One credentials in seahorse, in https:/
Re-add your computer to Ubuntu One with issuing:
u1sdtool -d
u1sdtool -c
Confirm that only one token is added in both:
https:/
(please note that this has to be done using maverick's syncdaemon, since the syncdaemon in nightlies will use the new SSO api which does not exist in maverick)
Changes added to gui.py were made to make pylint happy, I was getting:
************* Module ubuntu_sso.gui LabeledEntry. __init_ _: Use super on an old style class LabeledEntry. get_text: Use super on an old style class
W0403: 31: Relative import 'gtk', should be 'ubuntu_sso.gtk'
E1002:123:
E1002:162: