server/checkintegrity.py
branchstable
changeset 8527 6151b0199bc1
parent 8450 11063635c4e4
child 8562 0d2fb4604265
--- a/server/checkintegrity.py	Thu Aug 23 11:19:44 2012 +0200
+++ b/server/checkintegrity.py	Thu Aug 30 17:11:05 2012 +0200
@@ -317,7 +317,7 @@
     print 'Checking mandatory relations'
     msg = '%s #%s is missing mandatory %s relation %s (autofix will delete the entity)'
     for rschema in schema.relations():
-        if rschema.final or rschema.type in PURE_VIRTUAL_RTYPES:
+        if rschema.final or rschema in PURE_VIRTUAL_RTYPES or rschema in ('is', 'is_instance_of'):
             continue
         smandatory = set()
         omandatory = set()