# HG changeset patch # User Sylvain Thénault # Date 1311250845 -7200 # Node ID 07b592a62be34fe73cb4304f5b16bf4e15764955 # Parent 32c4c9bab04657c81e409232dc6e4b417fb37aa1 [c-c db-check] drop some deprecation warning diff -r 32c4c9bab046 -r 07b592a62be3 server/checkintegrity.py --- a/server/checkintegrity.py Thu Jul 21 11:16:32 2011 +0200 +++ b/server/checkintegrity.py Thu Jul 21 14:20:45 2011 +0200 @@ -286,7 +286,7 @@ entity.__regid__, entity.eid, role, rschema) if fix: #if entity.cw_describe()['source']['uri'] == 'system': XXX - entity.delete() + entity.cw_delete() notify_fixed(fix) @@ -306,7 +306,7 @@ print >> sys.stderr, '%s #%s is missing mandatory attribute %s' % ( entity.__regid__, entity.eid, rschema) if fix: - entity.delete() + entity.cw_delete() notify_fixed(fix)