# HG changeset patch # User Sylvain Thénault # Date 1282120562 -7200 # Node ID 45eccda89480ca061b3be38f7e8820365fd061ac # Parent f3fdfcbda54b12cf118dfe340239dfea8f62a548 [migration] remove bad test when constructing attributes to copy in rename_entity_type: the old entity type is not in the fschema due to schema deserialization trick diff -r f3fdfcbda54b -r 45eccda89480 server/migractions.py --- a/server/migractions.py Tue Aug 17 15:25:29 2010 +0200 +++ b/server/migractions.py Wed Aug 18 10:36:02 2010 +0200 @@ -860,7 +860,6 @@ attrs = ','.join(SQL_PREFIX + rschema.type for rschema in schema[newname].subject_relations() if (rschema.final or rschema.inlined) - and rschema in schema[oldname].subjrels and not rschema in PURE_VIRTUAL_RTYPES) else: attrs += ('eid', 'creation_date', 'modification_date', 'cwuri')