[PATCH 2 of 4 saem v4] [migration] Simplify migration script

Sylvain Thenault sylvain.thenault at logilab.fr
Wed May 10 10:13:27 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1493392085 -7200
#      Fri Apr 28 17:08:05 2017 +0200
# Node ID 44d11ff63f39124ba3816bbf061a6f6d25c1176a
# Parent  9b50a1f441345fdfbb58be45a045d91b9543dde6
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r 44d11ff63f39
[migration] Simplify migration script

diff --git a/cubicweb_saem_ref/migration/0.15.3_Any.py b/cubicweb_saem_ref/migration/0.15.3_Any.py
--- a/cubicweb_saem_ref/migration/0.15.3_Any.py
+++ b/cubicweb_saem_ref/migration/0.15.3_Any.py
@@ -1,5 +1,4 @@
-for etype in ('ChronologicalRelation', 'HierarchicalRelation', 'AssociationRelation',
+for etype in ('ChronologicalRelation', 'HierarchicalRelation',
+              'AssociationRelation', 'ConceptScheme',
               'use_profile'):
     sync_schema_props_perms(etype)
-
-sync_schema_props_perms('ConceptScheme')


More information about the saem-devel mailing list