goa/dbinit.py
changeset 3720 5376aaadd16b
parent 3689 deb13e88e037
child 4212 ab6573088b4a
--- a/goa/dbinit.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/goa/dbinit.py	Mon Oct 19 15:16:41 2009 +0200
@@ -90,7 +90,7 @@
     eschema = schema.eschema('CWEType')
     execute(rql, {'name': u'CWEType', 'descr': unicode(eschema.description)})
     for eschema in schema.entities():
-        if eschema.is_final() or eschema == 'CWEType':
+        if eschema.final or eschema == 'CWEType':
             continue
         execute(rql, {'name': unicode(eschema),
                       'descr': unicode(eschema.description)})