[neon/forks/ubuntu-release-upgrader/Neon/unstable_focal] DistUpgrade: Fix cache name

Brian Murray null at kde.org
Wed Apr 28 11:06:46 BST 2021


Git commit 5cbd1ff28d1bd0b12a7ce7fc0ba0b87844cc67b5 by Brian Murray.
Committed on 13/04/2021 at 18:33.
Pushed by jriddell into branch 'Neon/unstable_focal'.

Fix cache name

M  +2    -2    DistUpgrade/DistUpgradeQuirks.py

https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/5cbd1ff28d1bd0b12a7ce7fc0ba0b87844cc67b5

diff --git a/DistUpgrade/DistUpgradeQuirks.py b/DistUpgrade/DistUpgradeQuirks.py
index 48d20327..11877e05 100644
--- a/DistUpgrade/DistUpgradeQuirks.py
+++ b/DistUpgrade/DistUpgradeQuirks.py
@@ -968,7 +968,7 @@ class DistUpgradeQuirks(object):
             for snap in d2s["seeded"]:
                 seed = d2s["seeded"][snap]
                 metapkg = seed.get("metapkg", None)
-                if metapkg not in cache:
+                if metapkg not in self.controller.cache:
                     continue
                 if metapkg and \
                         self.controller.cache[metapkg].is_installed == False:
@@ -982,7 +982,7 @@ class DistUpgradeQuirks(object):
                 unseed = d2s["unseeded"][snap]
                 deb = unseed.get("deb", None)
                 metapkg = unseed.get("metapkg", None)
-                if metapkg not in cache:
+                if metapkg not in self.controller.cache:
                     continue
                 if metapkg and \
                         self.controller.cache[metapkg].is_installed == False:



More information about the Neon-commits mailing list