From c8f1e0b1f0b2f4dcc1a197e51a9084d00fb54d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Wed, 27 May 2020 17:34:31 -0300 Subject: [PATCH] [fix][arch] crashing while reading the installed packages when the internet is unstable --- CHANGELOG.md | 2 ++ bauh/gems/arch/aur.py | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24e53d80..a512ddaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixes - Flatpak - not displaying application updates on the search results +- Arch + - crashing while reading the installed packages when the internet is unstable - initialization dialog hangs when there is no task to wait for [#112](https://github.com/vinifmor/bauh/issues/112) - not caching data of repository packages with unknown repository names diff --git a/bauh/gems/arch/aur.py b/bauh/gems/arch/aur.py index 3ee9ce05..8206e0b0 100644 --- a/bauh/gems/arch/aur.py +++ b/bauh/gems/arch/aur.py @@ -185,6 +185,7 @@ class AURClient: return pkgnames else: self.logger.warning("Could not load AUR index on the context") + return set() else: return index.values() except: