Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-05-25 11:26:53 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-05-25 11:26:53 (GMT)
commitad33f7dfdda4f3256cb59a153ba4b71af2d79eed (patch)
tree6f88c80d96d832b03884a4c5c40820b5158782f4 /services
parent1fa97c3d9300d1aa4ad09be8eb67882920e9ab37 (diff)
services/presence/buddy: Improve docstring; remove unused property _object_id
Diffstat (limited to 'services')
-rw-r--r--services/presence/buddy.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/presence/buddy.py b/services/presence/buddy.py
index b8e8dac..60589b4 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 = {}