Philipp Hörist pushed to branch master at gajim / gajim
Commits: c5dec94f by lovetox at 2021-11-07T19:25:23+01:00 ChatControl: Remove unnecessary keys() call - - - - - 1 changed file: - gajim/chat_control.py Changes: ===================================== gajim/chat_control.py ===================================== @@ -1233,7 +1233,7 @@ def shutdown(self): roster = app.interface.roster has_pending = roster.contact_has_pending_roster_events(self.contact, self.account) - if key in roster.contacts_to_be_removed.keys() and not has_pending: + if key in roster.contacts_to_be_removed and not has_pending: backend = roster.contacts_to_be_removed[key]['backend'] del roster.contacts_to_be_removed[key] roster.remove_contact(self.contact.jid, View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c5dec94fe05439a45c41c972f02676283c013a60 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c5dec94fe05439a45c41c972f02676283c013a60 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits