From 0cfe87a9a6d3ce85ed11114b0607ac178f2a5821 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 11 Nov 2011 22:13:51 +0100 Subject: Fix a (possible) traceback on /remove --- src/tabs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index 5a1a33a3..e0419fda 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1590,7 +1590,10 @@ class RosterInfoTab(Tab): self.core.xmpp.sendPresence(pto=jid, ptype='unavailable') self.core.xmpp.sendPresence(pto=jid, ptype='unsubscribe') self.core.xmpp.sendPresence(pto=jid, ptype='unsubscribed') - self.core.xmpp.del_roster_item(jid=jid) + try: + self.core.xmpp.del_roster_item(jid=jid) + except: + pass def command_import(self, arg): """ -- cgit v1.2.3