goa/dbinit.py
branchstable
changeset 3689 deb13e88e037
parent 2476 1294a6bdf3bf
child 4212 ab6573088b4a
--- a/goa/dbinit.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/goa/dbinit.py	Thu Oct 15 20:29:21 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)})