Merge lp:~mterry/update-manager/toggle-fix into lp:update-manager
Proposed by
Michael Terry
Status: | Merged |
---|---|
Merged at revision: | 2594 |
Proposed branch: | lp:~mterry/update-manager/toggle-fix |
Merge into: | lp:update-manager |
Diff against target: |
118 lines (+21/-36) 2 files modified
UpdateManager/Core/UpdateList.py (+5/-2) UpdateManager/UpdatesAvailable.py (+16/-34) |
To merge this branch: | bzr merge lp:~mterry/update-manager/toggle-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt | Approve | ||
Review via email: mp+149116@code.launchpad.net |
Description of the change
-Refactors the toggle-an-item logic from two code paths down to one code path
-Introduce a convenience method is_selected() to cover a common question asked about a package
-Fixes bug 1129191 by dropping "auto_fix=False, auto_inst=False" when marking a package from install. These flags were inherited from the old "toggle_by_origin" method and seem to have been an optimization because we knew that all affected packages were from same PPA/origin and wouldn't need a fixer check. But we can no longer make that same assumption. Running the fixer makes the bug go away.
To post a comment you must log in.
I can reproduce the bug and confirm that this branch fixes it, so I merged it. Thanks! However, see the bug for more details, I can't upload it just yet.