From 4e064aeee9b4e85ae6db40af04af045543a89451 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Fri, 11 Feb 2022 15:23:50 -0300 Subject: [PATCH] [arch] refactoring: replacing some sets by tuples --- bauh/gems/arch/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index 8af0c9c8..ca64d8c1 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -2414,7 +2414,7 @@ class ArchManager(SoftwareManager): if context.pkg and context.pkg.maintainer: pkg_maintainer = context.pkg.maintainer elif context.repository == 'aur': - aur_infos = self.aur_client.get_info({context.name}) + aur_infos = self.aur_client.get_info((context.name,)) pkg_maintainer = aur_infos[0].get('Maintainer') if aur_infos else None else: pkg_maintainer = context.repository @@ -3512,7 +3512,7 @@ class ArchManager(SoftwareManager): self.aur_client.clean_caches() - apidatas = self.aur_client.get_info({pkg.name}) + apidatas = self.aur_client.get_info((pkg.name,)) if not apidatas: watcher.show_message(title=self.i18n['error'],