Commit 7f47fb49 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[schema] use explicit imports in schema declaration

parent 255920729957
from yams.buildobjs import EntityType, SubjectRelation, String
from yams.buildobjs import RichString
from yams.reader import context
defined_types = context.defined
except ImportError:
from cubicweb.schema import RichString
from cubicweb.schema import RQLConstraint
_ = unicode
class Person(EntityType):
"""a physical person"""
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