changeset 961:0e8c2414f89c

memory (disco): bug fix in findFeaturesSet
author souliane <souliane@mailoo.org>
date Mon, 31 Mar 2014 17:50:07 +0200
parents 3a22c011fdbd
children b280cf4cdf25
files src/memory/disco.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/memory/disco.py	Mon Mar 31 17:12:09 2014 +0200
+++ b/src/memory/disco.py	Mon Mar 31 17:50:07 2014 +0200
@@ -170,7 +170,7 @@
         found_entities = set()
 
         items = yield self.getItems(jid_, profile_key)
-        for entity in [jid_] + items:
+        for entity in [jid_] + [item.entity for item in items]:
             infos = yield self.getInfos(entity, profile_key)
             if category is not None or type_ is not None:
                 categories = set()