--- a/web/views/schema.py Thu Oct 15 18:43:04 2009 +0200
+++ b/web/views/schema.py Thu Oct 15 20:29:21 2009 +0200
@@ -88,11 +88,11 @@
schema = self.schema
# compute entities
entities = sorted(eschema for eschema in schema.entities()
- if not (eschema.is_final() or eschema in skiptypes))
+ if not (eschema.final or eschema in skiptypes))
# compute relations
if display_relations:
relations = sorted(rschema for rschema in schema.relations()
- if not (rschema.is_final()
+ if not (rschema.final
or rschema in skiptypes
or rschema in META_RTYPES))
else:
@@ -336,7 +336,7 @@
viewer = SchemaViewer(self.req)
layout = viewer.visit_relationschema(rschema)
self.w(uilib.ureport_as_html(layout))
- if not rschema.is_final():
+ if not rschema.final:
msg = self.req._('graphical schema for %s') % entity.name
self.w(tags.img(src=entity.absolute_url(vid='schemagraph'),
alt=msg))