--- a/server/checkintegrity.py Thu Oct 15 18:43:04 2009 +0200
+++ b/server/checkintegrity.py Thu Oct 15 20:29:21 2009 +0200
@@ -87,7 +87,7 @@
repo.do_fti = True # ensure full-text indexation is activated
etypes = set()
for eschema in schema.entities():
- if eschema.is_final():
+ if eschema.final:
continue
indexable_attrs = tuple(eschema.indexable_attributes()) # generator
if not indexable_attrs:
@@ -165,7 +165,7 @@
print >> sys.stderr
print 'Checking entities tables'
for eschema in schema.entities():
- if eschema.is_final():
+ if eschema.final:
continue
table = SQL_PREFIX + eschema.type
column = SQL_PREFIX + 'eid'
@@ -197,7 +197,7 @@
"""check all relations registered in the repo system table"""
print 'Checking relations'
for rschema in schema.relations():
- if rschema.is_final() or rschema in PURE_VIRTUAL_RTYPES:
+ if rschema.final or rschema in PURE_VIRTUAL_RTYPES:
continue
if rschema.inlined:
for subjtype in rschema.subjects():