diff src/memory/disco.py @ 961:0e8c2414f89c

memory (disco): bug fix in findFeaturesSet
author souliane <souliane@mailoo.org>
date Mon, 31 Mar 2014 17:50:07 +0200
parents 027a054c6dda
children 723f28cd15c7
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()