diff -r c7a95ebcc093 -r 010a59e12d89 misc/scripts/drop_external_entities.py --- a/misc/scripts/drop_external_entities.py Tue Apr 23 15:16:36 2013 +0200 +++ b/misc/scripts/drop_external_entities.py Tue Apr 23 15:33:50 2013 +0200 @@ -10,14 +10,14 @@ try: suri = ecnx.describe(meta['extid'])[1] except UnknownEid: - print 'cant describe', e.__regid__, e.eid, meta + print 'cant describe', e.cw_etype, e.eid, meta continue if suri != 'system': try: - print 'deleting', e.__regid__, e.eid, suri, e.dc_title().encode('utf8') + print 'deleting', e.cw_etype, e.eid, suri, e.dc_title().encode('utf8') repo.delete_info(session, e, suri, scleanup=e.eid) except UnknownEid: - print ' cant delete', e.__regid__, e.eid, meta + print ' cant delete', e.cw_etype, e.eid, meta commit()