From dc1873c3c744200217046c780ddb47078e64a6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Thu, 21 May 2020 12:43:54 -0300 Subject: [PATCH] [fix][arch] displaying wrong upgrade status when there is no AUR packages to upgrade --- bauh/gems/arch/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index cdd26799..86dcb1f0 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -855,8 +855,8 @@ class ArchManager(SoftwareManager): if not self._upgrade_repo_pkgs(pkgs=repo_pkgs_names, handler=handler, root_password=root_password): return False - watcher.change_status('{}...'.format(self.i18n['arch.upgrade.upgrade_aur_pkgs'])) if aur_pkgs: + watcher.change_status('{}...'.format(self.i18n['arch.upgrade.upgrade_aur_pkgs'])) for pkg in aur_pkgs: watcher.change_substatus("{} {} ({})...".format(self.i18n['manage_window.status.upgrading'], pkg.name, pkg.version)) context = TransactionContext.gen_context_from(pkg=pkg, arch_config=arch_config,