Follow compound cube api changes: move to a cube as package layout
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Mar 2017 15:41:32 +0100
changeset 2438 fed3aae5493d
parent 2416 74a05cb37aa5
child 2439 c5020d66063a
Follow compound cube api changes: move to a cube as package layout
cubicweb_seda/__init__.py
cubicweb_seda/entities/__init__.py
cubicweb_seda/views/archiveunit.py
cubicweb_seda/views/clone.py
--- a/cubicweb_seda/__init__.py	Thu Mar 02 19:10:11 2017 +0100
+++ b/cubicweb_seda/__init__.py	Fri Mar 03 15:41:32 2017 +0100
@@ -20,7 +20,7 @@
 
 from cubicweb import neg_role
 
-from cubes.compound import structure_def, skip_rtypes_set
+from cubicweb_compound import structure_def, skip_rtypes_set
 
 
 def seda_profile_container_def(schema):
--- a/cubicweb_seda/entities/__init__.py	Thu Mar 02 19:10:11 2017 +0100
+++ b/cubicweb_seda/entities/__init__.py	Fri Mar 03 15:41:32 2017 +0100
@@ -19,7 +19,7 @@
 
 from logilab.common.registry import objectify_predicate
 
-from cubes.compound.entities import IContainer, IContained, IClonableAdapter
+from cubicweb_compound.entities import IContainer, IContained, IClonableAdapter
 
 from .. import seda_profile_container_def
 from ..xsd import XSDMMapping
--- a/cubicweb_seda/views/archiveunit.py	Thu Mar 02 19:10:11 2017 +0100
+++ b/cubicweb_seda/views/archiveunit.py	Fri Mar 03 15:41:32 2017 +0100
@@ -26,7 +26,7 @@
 from cubicweb.view import EntityView
 from cubicweb.web.views import autoform, baseviews, tabs, uicfg
 
-from cubes.compound import views as compound
+from cubicweb_compound import views as compound
 from cubes.relationwidget import views as rwdg
 
 from ..xsd import un_camel_case
--- a/cubicweb_seda/views/clone.py	Thu Mar 02 19:10:11 2017 +0100
+++ b/cubicweb_seda/views/clone.py	Fri Mar 03 15:41:32 2017 +0100
@@ -20,7 +20,7 @@
 from cubicweb.web import Redirect, action, controller
 from cubicweb.web.views import actions, uicfg
 
-from cubes.compound.entities import copy_entity
+from cubicweb_compound.entities import copy_entity
 from cubes.relationwidget import views as rwdg
 
 from .widgets import configure_relation_widget