Merge lp:~facundo/ubuntuone-client/root-always-subscribed into lp:ubuntuone-client
Proposed by
Facundo Batista
Status: | Merged |
---|---|
Approved by: | Alejandro J. Cura |
Approved revision: | 1129 |
Merged at revision: | 1130 |
Proposed branch: | lp:~facundo/ubuntuone-client/root-always-subscribed |
Merge into: | lp:ubuntuone-client |
Diff against target: |
38 lines (+17/-0) 2 files modified
tests/syncdaemon/test_vm.py (+15/-0) ubuntuone/syncdaemon/volume_manager.py (+2/-0) |
To merge this branch: | bzr merge lp:~facundo/ubuntuone-client/root-always-subscribed |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alejandro J. Cura (community) | Approve | ||
Ian Wilkinson (community) | Approve | ||
Review via email: mp+74265@code.launchpad.net |
Commit message
Root is always subscribed (LP: #842839)
Description of the change
Root is always subscribed.
Added a class attribute 'subscribed' in True to Root, as we're now checking all volumes for subscription, and even as today Root has the subscribed attribute set in __init__ to True, old Root instances are pickled without it.
Other way to fix this would have been triggered a VolumeManager metadata upgrade, but the way I did it here is way safer (specially when verterok is on vacation).
Test included.
To post a comment you must log in.
+1