author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 07 Jul 2010 14:18:28 +0200 | |
changeset 5927 | 654a34e4eb2e |
parent 5926 | 89e27940df99 |
child 5928 | d9936c39d478 |
web/box.py | file | annotate | diff | comparison | revisions |
--- a/web/box.py Wed Jul 07 13:58:21 2010 +0200 +++ b/web/box.py Wed Jul 07 14:18:28 2010 +0200 @@ -224,8 +224,8 @@ """returns the list of unrelated entities, using the entity's appropriate vocabulary function """ - skip = set(e.eid for e in entity.related(self.rtype, get_role(self), - entities=True)) + skip = set(unicode(e.eid) for e in entity.related(self.rtype, get_role(self), + entities=True)) skip.add(None) skip.add(INTERNAL_FIELD_VALUE) filteretype = getattr(self, 'etype', None)