gajim: prevent traceback. Fixes #7960
changeset 4f2c3b099efe in /home/hg/repos/gajim author: Yann Leboulanger branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=4f2c3b099efe description: prevent traceback. Fixes #7960 diffstat: src/roster_window.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (13 lines): diff -r 975912558ebf -r 4f2c3b099efe src/roster_window.py --- a/src/roster_window.py Sat Mar 07 15:04:41 2015 +0100 +++ b/src/roster_window.py Sat Mar 07 21:03:25 2015 +0100 @@ -990,6 +990,9 @@ # FIXME: maybe move to gajim.py def remove_newly_added(self, jid, account): +if account not in gajim.newly_added: +# Account has been deleted during the timeout that called us +return if jid in gajim.newly_added[account]: gajim.newly_added[account].remove(jid) self.draw_contact(jid, account) ___ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits
gajim: prevent traceback. Fixes #7960
changeset 4b6ab138eb75 in /home/hg/repos/gajim author: Yann Leboulanger branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=4b6ab138eb75 description: prevent traceback. Fixes #7960 diffstat: src/roster_window.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (13 lines): diff -r 06f40d177c27 -r 4b6ab138eb75 src/roster_window.py --- a/src/roster_window.py Sat Mar 07 15:04:41 2015 +0100 +++ b/src/roster_window.py Sat Mar 07 21:03:25 2015 +0100 @@ -976,6 +976,9 @@ # FIXME: maybe move to gajim.py def remove_newly_added(self, jid, account): +if account not in gajim.newly_added: +# Account has been deleted during the timeout that called us +return if jid in gajim.newly_added[account]: gajim.newly_added[account].remove(jid) self.draw_contact(jid, account) ___ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits