From a9fc7c96501d48bb2b9da50810c6996ce1e83752 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sun, 7 Apr 2019 20:59:34 +0200 Subject: [PATCH] quick frontend (contact list): fixed profile filtering in fill() --- sat_frontends/quick_frontend/quick_contact_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sat_frontends/quick_frontend/quick_contact_list.py b/sat_frontends/quick_frontend/quick_contact_list.py index dba902fa..00e90641 100644 --- a/sat_frontends/quick_frontend/quick_contact_list.py +++ b/sat_frontends/quick_frontend/quick_contact_list.py @@ -967,7 +967,7 @@ class QuickContactListHandler(object): except AttributeError: to_fill = self._to_fill = set() - # if check if profiles have already been filled + # we check if profiles have already been filled # to void filling them several times filled = to_fill.copy() @@ -975,7 +975,7 @@ class QuickContactListHandler(object): assert profile in self._clist to_fill.add(profile) else: - to_fill.update(self._clist.items()) + to_fill.update(self._clist.keys()) remaining = to_fill.difference(filled) if remaining != to_fill: