Updated for list

This commit is contained in:
Dimitris Zlatanidis 2023-04-21 12:06:49 +03:00
parent 3509378811
commit 3ab992b051

View file

@ -34,7 +34,7 @@ class Upgrade(Configs):
""" Returns the upgradable packages. """
# Returns the matched packages between two lists.
packages: list = list(set(self.utils.installed_packages.keys()) & set(list(self.data.keys())))
packages: list = list(set(self.utils.installed_packages.keys()) & set(self.data.keys()))
for pkg in packages:
if self.is_package_upgradeable(pkg):