[PATCH 4 of 5 saem] [skos] Drop no more necessary code

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Oct 6 17:03:57 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1507274340 -7200
#      Fri Oct 06 09:19:00 2017 +0200
# Node ID 97e53987e50182b1b669d6e6cf8789f9393946f4
# Parent  ffcebfaa81425f8c6c6c2e197adcfe6dbe54fc9d
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r 97e53987e501
[skos] Drop no more necessary code

skos 1.1.2 has been released, depend on it and drop related code.

diff --git a/cubicweb_saem_ref/__pkginfo__.py b/cubicweb_saem_ref/__pkginfo__.py
--- a/cubicweb_saem_ref/__pkginfo__.py
+++ b/cubicweb_saem_ref/__pkginfo__.py
@@ -21,11 +21,11 @@ web = 'http://www.cubicweb.org/project/%
     'cubicweb-seda': '>= 0.10.0, < 0.11.0',
     'cubicweb-compound': '>= 0.6.0, < 0.7.0',
     'cubicweb-prov': '>= 0.4.0, < 0.5.0',
     'cubicweb-oaipmh': '>= 0.4.2, < 0.5.0',
     'cubicweb-relationwidget': '>= 0.4.0, < 0.5.0',
-    'cubicweb-skos': '>= 1.1.0, < 1.2.0',
+    'cubicweb-skos': '>= 1.1.2, < 1.2.0',
     'cubicweb-vtimeline': None,
     'cubicweb-signedrequest': None,
     'python-dateutil': None,
     'pytz': None,
     'psycopg2': None,
diff --git a/cubicweb_saem_ref/views/skos.py b/cubicweb_saem_ref/views/skos.py
--- a/cubicweb_saem_ref/views/skos.py
+++ b/cubicweb_saem_ref/views/skos.py
@@ -48,13 +48,10 @@ class SKOSImportComponent(ImportEntityCo
         return self._cw.build_url('add/skossource')
 
 
 afs.tag_object_of(('*', 'related_concept_scheme', 'ConceptScheme'), 'main', 'hidden')
 
-# XXX drop above line once skos > 1.1.1 is out
-afs.tag_subject_of(('*', 'label_of', '*'), 'inlined', 'hidden')
-
 skos.ConceptSchemePrimaryView.tabs.append(_('saem.lifecycle_tab'))
 skos.ConceptPrimaryView.tabs.append(_('saem.lifecycle_tab'))
 
 
 class ConceptSchemeSameETypeListView(baseviews.SameETypeListView):


More information about the saem-devel mailing list