# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1233238611 -3600 # Node ID 64402a18da5d11e075a1c78ad05dffc62a050a56 # Parent 56fd73de1f068d9cc514353aabc3dd0269b155a1 oops diff -r 56fd73de1f06 -r 64402a18da5d web/views/owl.py --- 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' % (attr, x.id, x.eid, attr)) self.w(u''% eschema)