diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-11 22:13:51 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-11 22:13:51 +0100 |
commit | 0cfe87a9a6d3ce85ed11114b0607ac178f2a5821 (patch) | |
tree | 092cd04795ba9387d6ffdd503819e7fa21ac842d | |
parent | ea5692544ad196b90d64e46d7b43ae8c68c34e64 (diff) | |
download | poezio-0cfe87a9a6d3ce85ed11114b0607ac178f2a5821.tar.gz poezio-0cfe87a9a6d3ce85ed11114b0607ac178f2a5821.tar.bz2 poezio-0cfe87a9a6d3ce85ed11114b0607ac178f2a5821.tar.xz poezio-0cfe87a9a6d3ce85ed11114b0607ac178f2a5821.zip |
Fix a (possible) traceback on /remove
-rw-r--r-- | src/tabs.py | 5 |
1 files changed, 4 insertions, 1 deletions
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): """ |