Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
skos
Commits
27e0a152c8ac
Commit
67da1a0e
authored
Aug 05, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_skos/entities.py
View file @
27e0a152
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment