diff --git a/shell/PresenceService/Activity.py b/shell/PresenceService/Activity.py index eda302db..6aa27195 100644 --- a/shell/PresenceService/Activity.py +++ b/shell/PresenceService/Activity.py @@ -95,7 +95,12 @@ class Activity(object): return self._activity_id def get_services(self): - return self._services.values() + ret = [] + for serv_list in self._services.values(): + for service in serv_list: + if service not in ret: + ret.append(service) + return ret def get_services_of_type(self, stype): if self._services.has_key(stype):