From ad33f7dfdda4f3256cb59a153ba4b71af2d79eed Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 25 May 2007 12:26:53 +0100 Subject: [PATCH] services/presence/buddy: Improve docstring; remove unused property _object_id --- services/presence/buddy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/presence/buddy.py b/services/presence/buddy.py index b8e8dacc..60589b41 100644 --- a/services/presence/buddy.py +++ b/services/presence/buddy.py @@ -62,8 +62,9 @@ class Buddy(ExportedGObject): _activities -- dictionary mapping activity ID to activity.Activity objects - handles -- dictionary mapping telepresence client to - "handle" (XXX what's that) + handles -- dictionary mapping Telepathy client plugin to + contact handle (an integer representing the JID or unique ID); + channel-specific handles do not appear here """ __gsignals__ = { @@ -117,8 +118,7 @@ class Buddy(ExportedGObject): raise ValueError("object id must be a valid number") self._bus_name = bus_name - self._object_id = object_id - self._object_path = _BUDDY_PATH + str(self._object_id) + self._object_path = _BUDDY_PATH + str(object_id) self._activities = {} # Activity ID -> Activity self._activity_sigids = {}