diff -r 421fb447ecb2 -r deb13e88e037 goa/appobjects/dbmgmt.py --- 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
' % eschema)