From 57b06c36237535ca34841064beb32c470d2b6778 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 11 Apr 2024 13:08:43 +0300 Subject: [PATCH] Updated check for sorted --- slpkg/upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index e0f105b7..876c8fea 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -129,7 +129,7 @@ class Upgrade(Configs): for repo, data in repo_data.items(): self.load_installed_packages(repo) - for installed in self.installed_packages: + for installed in sorted(self.installed_packages): name: str = self.utils.split_package(installed.name)['name'] if data.get(name):