Skip to content
Snippets Groups Projects
Commit 079c1fe3b1de authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

bw compat import

parent e7905e8e5931
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,11 @@
:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
from yams.buildobjs import EntityType, RelationType, SubjectRelation, RichString
from yams.buildobjs import EntityType, RelationType, SubjectRelation
try:
from yams.buildobjs import RichString
except:
from cubicweb.schema import RichString
from cubicweb.schema import RRQLExpression
class Comment(EntityType):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment