misc/migration/3.5.10_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 28 Aug 2014 18:12:28 +0200
changeset 9950 3e5addc72575
parent 8798 cdab3aadc679
permissions -rw-r--r--
Fix test migration crash waiting to happen due to inferred relations Avoid crashing when a relation definition which is already known (due to being inferred) gets explicitly added. As explained in a comment, this would deserve more thinking, but at least this fixes a test failure with computed relations.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8798
cdab3aadc679 [migration] mark all version prior 3.7 as non-migrable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 3977
diff changeset
     1
raise NotImplementedError("Cannot migrate such an old version. Use intermediate Cubiweb version (try 3.16.x)")