Merge lp:~rbalint/update-manager/fix-blank-package-list into lp:update-manager

Proposed by Balint Reczey
Status: Merged
Merged at revision: 2840
Proposed branch: lp:~rbalint/update-manager/fix-blank-package-list
Merge into: lp:update-manager
Diff against target: 26 lines (+7/-2)
1 file modified
UpdateManager/Core/UpdateList.py (+7/-2)
To merge this branch: bzr merge lp:~rbalint/update-manager/fix-blank-package-list
Reviewer Review Type Date Requested Status
Julian Andres Klode Approve
Review via email: mp+355526@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Julian Andres Klode (juliank) wrote :

I have no idea what this does.

review: Abstain
Revision history for this message
Julian Andres Klode (juliank) wrote :

Seems OK

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'UpdateManager/Core/UpdateList.py'
--- UpdateManager/Core/UpdateList.py 2018-03-21 17:41:10 +0000
+++ UpdateManager/Core/UpdateList.py 2018-09-27 11:02:38 +0000
@@ -499,7 +499,6 @@
499 if not is_security_update:499 if not is_security_update:
500 if self._is_ignored_phased_update(pkg):500 if self._is_ignored_phased_update(pkg):
501 self.ignored_phased_updates.append(pkg)501 self.ignored_phased_updates.append(pkg)
502 pkg.mark_keep()
503 continue502 continue
504503
505 if is_security_update:504 if is_security_update:
@@ -517,7 +516,13 @@
517 cache.versioned_kernel_pkgs_regexp.match(pkg.name) and516 cache.versioned_kernel_pkgs_regexp.match(pkg.name) and
518 not cache.running_kernel_pkgs_regexp.match(pkg.name))):517 not cache.running_kernel_pkgs_regexp.match(pkg.name))):
519 kernel_autoremove_pkgs.append(pkg)518 kernel_autoremove_pkgs.append(pkg)
520 pkg.mark_delete()519
520 # perform operations after the loop to not skip packages which
521 # changed state due to the resolver
522 for pkg in kernel_autoremove_pkgs:
523 pkg.mark_delete()
524 for pkg in self.ignored_phased_updates:
525 pkg.mark_keep()
521526
522 if security_pkgs or upgrade_pkgs:527 if security_pkgs or upgrade_pkgs:
523 # There's updates available. Initiate the desktop file cache.528 # There's updates available. Initiate the desktop file cache.

Subscribers

People subscribed via source and target branches

to status/vote changes: