author | sylvain.thenault@logilab.fr |
Thu, 29 Jan 2009 15:16:51 +0100 | |
changeset 517 | 64402a18da5d |
parent 516 | 56fd73de1f06 |
child 518 | b6003d74a600 |
web/views/owl.py | file | annotate | diff | comparison | revisions |
--- a/web/views/owl.py Thu Jan 29 12:10:41 2009 +0100 +++ b/web/views/owl.py Thu Jan 29 15:16:51 2009 +0100 @@ -239,7 +239,7 @@ attr = 'reverse_%s' % rschema.type else: attr = rschema.type - for x in getattr(entity, tag): + for x in getattr(entity, attr): self.w(u'<%s>%s %s</%s>' % (attr, x.id, x.eid, attr)) self.w(u'</%s>'% eschema)