misc/migration/3.4.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 31 Mar 2010 14:46:04 +0200
branchstable
changeset 5115 2e43ef618d14
parent 2127 bc86aa68cc43
child 8798 cdab3aadc679
permissions -rw-r--r--
[repository] forbid usage of set_attributes() in before_add_entity set_attributes() will generate a RQL query that will silently fail. An explicit error is better. You can still use the ``entity[attr] = value`` notation that won't generate a SQL query but still update the inner state of the entity and its edited_attributes attribute.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2127
bc86aa68cc43 no more meta attribute on entity and relation type
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
drop_attribute('CWEType', 'meta')
bc86aa68cc43 no more meta attribute on entity and relation type
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
drop_attribute('CWRType', 'meta')