equal
deleted
inserted
replaced
671 except KeyError: |
671 except KeyError: |
672 # specialized entity type not in schema, ignore |
672 # specialized entity type not in schema, ignore |
673 continue |
673 continue |
674 if instspschema.specializes() != eschema: |
674 if instspschema.specializes() != eschema: |
675 self.rqlexec('SET D specializes P WHERE D eid %(d)s, P name %(pn)s', |
675 self.rqlexec('SET D specializes P WHERE D eid %(d)s, P name %(pn)s', |
676 {'d': instspschema.eid, |
676 {'d': instspschema.eid, |
677 'pn': eschema.type}, ask_confirm=confirm) |
677 'pn': eschema.type}, ask_confirm=confirm) |
678 for rschema, tschemas, role in spschema.relation_definitions(True): |
678 for rschema, tschemas, role in spschema.relation_definitions(True): |
679 for tschema in tschemas: |
679 for tschema in tschemas: |
680 if not tschema in instschema: |
680 if not tschema in instschema: |
681 continue |
681 continue |
682 if role == 'subject': |
682 if role == 'subject': |