Commit 67da1a0e authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

fix: Entity.Adapter is definitely moved only in cubicweb3.28

parent 144723793ac1
Pipeline #74244 passed with stages
in 2 minutes and 13 seconds
......@@ -18,9 +18,14 @@
from logilab.common.decorators import cachedproperty
from cubicweb.predicates import is_instance
from cubicweb.entity import EntityAdapter
from cubicweb.entities import AnyEntity, fetch_config
from cubicweb.entities.adapters import ITreeAdapter
from cubicweb.__pkginfo__ import numversion as cubicweb_version
if cubicweb_version < (3, 28):
from cubicweb.view import EntityAdapter
else:
from cubicweb.entity import EntityAdapter
import cubicweb_skos as skos
from cubicweb_skos import rdfio
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment