Merge lp:~alecu/ubuntu-sso-client/gsettings-at-sign into lp:ubuntu-sso-client
Proposed by
Alejandro J. Cura
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alejandro J. Cura | ||||
Approved revision: | 978 | ||||
Merged at revision: | 976 | ||||
Proposed branch: | lp:~alecu/ubuntu-sso-client/gsettings-at-sign | ||||
Merge into: | lp:ubuntu-sso-client | ||||
Diff against target: |
120 lines (+44/-2) 5 files modified
ubuntu_sso/gtk/tests/test_gui.py (+1/-0) ubuntu_sso/tests/test_credentials.py (+1/-0) ubuntu_sso/utils/tests/test_common.py (+1/-0) ubuntu_sso/utils/webclient/gsettings.py (+9/-2) ubuntu_sso/utils/webclient/tests/test_gsettings.py (+32/-0) |
||||
To merge this branch: | bzr merge lp:~alecu/ubuntu-sso-client/gsettings-at-sign | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Manuel de la Peña (community) | Approve | ||
Review via email: mp+111691@code.launchpad.net |
Commit message
- Account for g_variant_print type annotations (LP: #1007109).
To post a comment you must log in.
The branch looks ok, I'm a little afraid we won't have more settings with 'annotations'.
Would you please improve a bit the parsing so the "default" case is not a cast to int()? I would suggest something like:
elif value.isdigit(): warning( 'Can not parse value from gsettings %r, ignoring.', value)
parsed_value = int(valued)
else:
logger.
Does that make sense?