Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/AbiWordActivity.py
diff options
context:
space:
mode:
authorMarc Maurer <uwog@uwog.net>2008-09-14 10:59:19 (GMT)
committer Marc Maurer <uwog@uwog.net>2008-09-14 10:59:19 (GMT)
commit849ceddc885744ac2c166faf0ce531e1923c12e8 (patch)
treecf9ab9343899a0e4df5f6cbc70533278681af9ad /AbiWordActivity.py
parent897e156bd03832a3ff0deb532d5be437220048a9 (diff)
Fix bug 6021: Write crash on buddy left (Morgan Collett)
Diffstat (limited to 'AbiWordActivity.py')
-rw-r--r--AbiWordActivity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/AbiWordActivity.py b/AbiWordActivity.py
index 7ee3bb0..cd922d0 100644
--- a/AbiWordActivity.py
+++ b/AbiWordActivity.py
@@ -283,8 +283,9 @@ class AbiWordActivity (Activity):
def _on_members_changed(self, message, added, removed, local_pending, remote_pending, actor, reason):
logger.debug("_on_members_changed")
for handle in removed:
- logger.debug('removed handle: %d, with dbus name: %s', handle, self.participants[handle])
bus_name = self.participants.pop(handle, None)
+ logger.debug('removed handle: %d, with dbus name: %s', handle,
+ bus_name)
self.abiword_canvas.invoke_cmd('com.abisource.abiword.abicollab.olpc.buddyLeft', bus_name, 0, 0)
def _buddy_joined_cb (self, activity, buddy):