[Merge] ~tormodvolden/update-manager:pkg_name_heur into update-manager:main

Tormod Volden mp+467153 at code.launchpad.net
Wed Oct 9 12:03:55 UTC 2024


Launchpad and text formatting... Replacing the leading spaces with underscores:

diff --git a/UpdateManager/Core/UpdateList.py b/UpdateManager/Core/UpdateList.py
index 73b875c3..47c0f388 100644
--- a/UpdateManager/Core/UpdateList.py
+++_b/UpdateManager/Core/UpdateList.py
@@ -585,6 +586,10 @@ class UpdateList:
 
         # Find all upgradable packages
         for pkg in cache:
+____________app_=_self._get_application_for_package(pkg)
+____________if app is not None:
+________________print('MAP', pkg.name, app.get_name())
+____________continue
             if pkg.is_upgradable or pkg.marked_install:
                 if getattr(pkg.candidate, "origins", None) is None:
                     # can happen for e.g. locked packages

-- 
https://code.launchpad.net/~tormodvolden/update-manager/+git/update-manager/+merge/467153
Your team Ubuntu Core Development Team is requested to review the proposed merge of ~tormodvolden/update-manager:pkg_name_heur into update-manager:main.




More information about the Ubuntu-reviews mailing list