From e1503328c87e1e898515c87e39286bb853986b01 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 30 Sep 2019 18:42:39 -0300 Subject: [PATCH] fix: AUR -> read installed and search --- CHANGELOG.md | 1 - bauh/gems/arch/controller.py | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b1bc7f8..68d9b174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Update notifications showing the number of updates by type as well - AUR: - Installed files available in the Info window - - Waiting for the the disk cache data loader only if needed - Improving Arch distro checking ### Fixes diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index 95d748f6..0d0dfec8 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -67,8 +67,7 @@ class ArchManager(SoftwareManager): Thread(target=self.mapper.fill_package_build, args=(app,)).start() def search(self, words: str, disk_loader: DiskCacheLoader, limit: int = -1) -> SearchResult: - if self.comp_optimizer.isAlive(): - self.comp_optimizer.join() + self.comp_optimizer.join() downgrade_enabled = git.is_enabled() res = SearchResult([], [], 0) @@ -156,8 +155,7 @@ class ArchManager(SoftwareManager): apps = [] if installed and installed['not_signed']: - if self.dcache_updater.isAlive(): - self.dcache_updater.join() + self.dcache_updater.join() self._fill_aur_pkgs(installed['not_signed'], apps, disk_loader, internet_available)