Mercurial > libervia-backend
diff sat_frontends/quick_frontend/quick_contact_list.py @ 2897:82d8243e6ad1
quick frontend (contact list): fixed profile filtering in fill()
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 07 Apr 2019 20:59:34 +0200 |
parents | 08b54bf77c54 |
children | bad0b4280b77 |
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_contact_list.py Sun Apr 07 20:58:15 2019 +0200 +++ b/sat_frontends/quick_frontend/quick_contact_list.py Sun Apr 07 20:59:34 2019 +0200 @@ -967,7 +967,7 @@ 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 @@ 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: