Merge lp:~lasall/update-notifier/compare-verobj-id into lp:update-notifier/ubuntu
Proposed by
Dominique Lasserre
Status: | Needs review |
---|---|
Proposed branch: | lp:~lasall/update-notifier/compare-verobj-id |
Merge into: | lp:update-notifier/ubuntu |
Diff against target: |
12 lines (+1/-1) 1 file modified
data/apt_check.py (+1/-1) |
To merge this branch: | bzr merge lp:~lasall/update-notifier/compare-verobj-id |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Murray | Needs Information | ||
Michael Vogt | Pending | ||
Review via email: mp+114994@code.launchpad.net |
Description of the change
Comparing apt_pkg.Version objects with == operator does not always work as expected. Use id method instead to compare unique integers.
To post a comment you must log in.
Unmerged revisions
- 722. By Dominique Lasserre
-
Compare unique ids instead of apt_pkg.Version objects with == operator.
Could you provide some more details about how it does not always work as expected and why use .id will work better? Thanks in advance.