[PATCH 3 of 3 saem_ref] Indicate the concept scheme in which concepts will be imported in LSCV command line import

Denis Laxalde denis.laxalde at logilab.fr
Tue Feb 6 11:34:17 CET 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1517913231 -3600
#      Tue Feb 06 11:33:51 2018 +0100
# Node ID 4ad46b243e56bfdd3f3ec2470e91d12318be5bf3
# Parent  ec84ee304378e6296f522f1e5718f2e8c000b1be
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r 4ad46b243e56
# EXP-Topic lcsv-import
Indicate the concept scheme in which concepts will be imported in LSCV command line import

diff --git a/cubicweb_saem_ref/ccplugin.py b/cubicweb_saem_ref/ccplugin.py
--- a/cubicweb_saem_ref/ccplugin.py
+++ b/cubicweb_saem_ref/ccplugin.py
@@ -162,6 +162,7 @@ def run(self, args):
                       % scheme_ark)
                 sys.exit(1)
             naa_what = scheme.ark_naa[0].what
+            print(u'Importing concepts in %s' % scheme.absolute_url())
         # Set a "config" attribute which will be retrieved from metadata
         # generator defined in __init__.py.
         setattr(self.config, 'naa_what', naa_what)



More information about the saem-devel mailing list