# HG changeset patch # User Sylvain Thénault # Date 1287764577 -7200 # Node ID 29f3e4b3112507c215ba597cd0397592682b259e # Parent e24217401b0b867a22b76b3fc382bae71f419c44 [migration] dumb name error diff -r e24217401b0b -r 29f3e4b31125 misc/migration/3.10.4_Any.py --- a/misc/migration/3.10.4_Any.py Fri Oct 22 18:09:13 2010 +0200 +++ b/misc/migration/3.10.4_Any.py Fri Oct 22 18:22:57 2010 +0200 @@ -1,6 +1,6 @@ for eschema in schema.entities(): if not 'cw_source' in eschema.subjrels: - add_relation_def(eschema, 'cw_source', 'CWSource') + add_relation_definition(eschema, 'cw_source', 'CWSource') sql('INSERT INTO cw_source_relation(eid_from, eid_to) ' 'SELECT e.eid,s.cw_eid FROM entities as e, cw_CWSource as s '