[doc] Add some comment giving details about LCSV_FILES
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Dec 2017 17:55:38 +0100
changeset 2914 ae3705aa2ba7
parent 2913 5205b3490f1c
child 2915 451328134bee
[doc] Add some comment giving details about LCSV_FILES
cubicweb_seda/dataimport.py
--- a/cubicweb_seda/dataimport.py	Mon Dec 11 16:36:28 2017 +0100
+++ b/cubicweb_seda/dataimport.py	Tue Dec 12 17:55:38 2017 +0100
@@ -29,7 +29,10 @@
 
 from cubes.skos import lcsv, sobjects as skos
 
-
+# If you want to add a vocabulary here, add it to the end of the list if you
+# want to create it in migration script by simply calling import_seda_schemes
+# for proper interaction with saem which attempt to allocate reproducible ARK
+# identifier to them.
 LCSV_FILES = [(title, rtype, etype,
                join(abspath(dirname(__file__)), 'migration', 'data', fname))
               for title, rtype, etype, fname in (