Commit 6ffe9595 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

bw compat import

parent 15f2aa34edef
......@@ -10,8 +10,14 @@ _ = unicode
# pylint: disable-msg=E0611,F0401
from yams.buildobjs import (SubjectRelation, RelationType, EntityType,
String, Datetime, Int, RelationDefinition)
from yams.reader import context
defined_types = context.defined
except ImportError:
from cubicweb.schema import ERQLExpression
class Email(EntityType):
"""electronic mail"""
subject = String(fulltextindexed=True)
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