goa/appobjects/dbmgmt.py
branchstable
changeset 3689 deb13e88e037
parent 2312 af4d8f75c5db
child 4023 eae23c40627a
child 4212 ab6573088b4a
--- a/goa/appobjects/dbmgmt.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/goa/appobjects/dbmgmt.py	Thu Oct 15 20:29:21 2009 +0200
@@ -175,7 +175,7 @@
         # XXX should use unsafe_execute with all hooks deactivated
         # XXX step by catching datastore errors?
         for eschema in self.schema.entities():
-            if eschema.is_final() or eschema in self.skip_etypes:
+            if eschema.final or eschema in self.skip_etypes:
                 continue
             self.req.execute('DELETE %s X' % eschema)
             self.w(u'deleted all %s entities<br/>' % eschema)