web/uicfg.py
branchstable
changeset 3689 deb13e88e037
parent 3597 de066e1b4c36
child 3720 5376aaadd16b
child 3877 7ca53fc72a0a
child 4212 ab6573088b4a
--- a/web/uicfg.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/web/uicfg.py	Thu Oct 15 20:29:21 2009 +0200
@@ -85,7 +85,7 @@
     if rtag.get(sschema, rschema, oschema, role) is None:
         card = card_from_role(rschema.rproperty(sschema, oschema, 'cardinality'), role)
         composed = rschema.rproperty(sschema, oschema, 'composite') == neg_role(role)
-        if rschema.is_final():
+        if rschema.final:
             if rschema.meta or sschema.is_metadata(rschema) \
                     or oschema.type in ('Password', 'Bytes'):
                 section = 'hidden'
@@ -185,7 +185,7 @@
                 composed = rschema.rproperty(sschema, oschema, 'composite') == 'subject'
             if card in '1+':
                 section = 'primary'
-            elif rschema.is_final():
+            elif rschema.final:
                 section = 'secondary'
             else:
                 section = 'generic'