devtools/devctl.py
changeset 3720 5376aaadd16b
parent 3677 acdba524bb8f
parent 3689 deb13e88e037
child 3890 d7a270f50f54
--- a/devtools/devctl.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/devtools/devctl.py	Mon Oct 19 15:16:41 2009 +0200
@@ -144,13 +144,13 @@
         if etype not in libschema:
             add_msg(w, etype)
             add_msg(w, '%s_plural' % etype)
-            if not eschema.is_final():
+            if not eschema.final:
                 add_msg(w, 'This %s' % etype)
                 add_msg(w, 'New %s' % etype)
             if eschema.description and not eschema.description in done:
                 done.add(eschema.description)
                 add_msg(w, eschema.description)
-        if eschema.is_final():
+        if eschema.final:
             continue
         for rschema, targetschemas, role in eschema.relation_definitions(True):
             for tschema in targetschemas:
@@ -201,7 +201,7 @@
             for subjschema in rschema.subjects():
                 if not subjschema in libsubjects:
                     add_msg(w, rtype, subjschema.type)
-        if not (schema.rschema(rtype).is_final() or rschema.symetric):
+        if not (schema.rschema(rtype).final or rschema.symetric):
             if rschema not in no_context_rtypes:
                 libobjects = librschema and librschema.objects() or ()
                 for objschema in rschema.objects():