Fixed for check

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-08 18:43:03 +03:00
parent 1b3bcf96ba
commit f2931991aa

View file

@ -190,7 +190,7 @@ class Upgrade(Configs): # pylint: disable=[R0902]
'type': 'upgrade'
}
if repo == self.repos.slack_repo_name and self.removed_packages:
if repo in self.repos.remove_packages:
tag: str = self.utils.split_package(installed.name)['tag']
if not tag and name not in data.keys():
self.id += 1
@ -208,7 +208,7 @@ class Upgrade(Configs): # pylint: disable=[R0902]
'type': 'remove'
}
if repo == self.repos.slack_repo_name and self.new_packages:
if repo in self.repos.new_packages:
for name in data.keys():
# if not self.utils.is_package_installed(name):
if name not in self.installed_names: