diff --git a/bauh/gems/arch/pacman.py b/bauh/gems/arch/pacman.py index 5b0eb9cf..d9572d69 100644 --- a/bauh/gems/arch/pacman.py +++ b/bauh/gems/arch/pacman.py @@ -145,9 +145,9 @@ def map_packages(names: Optional[Iterable[str]] = None, remote: bool = False, si thread_ignored.join() if ignored: - to_del = set() - for key in ('signed', 'not_signed'): + to_del = set() + if pkgs.get(key): for pkg in pkgs[key].keys(): if pkg in ignored: