diff -r 2046b3a4da5d -r 31e2de4d23a6 cubicweb/schema.py --- a/cubicweb/schema.py Mon Aug 29 12:05:11 2016 +0200 +++ b/cubicweb/schema.py Fri Jul 08 10:13:15 2016 +0200 @@ -51,14 +51,7 @@ import cubicweb from cubicweb import ETYPE_NAME_MAP, ValidationError, Unauthorized, _ -try: - from cubicweb import server -except ImportError: - # We need to lookup DEBUG from there, - # however a pure dbapi client may not have it. - class server(object): pass - server.DEBUG = False - +from cubicweb import server PURE_VIRTUAL_RTYPES = set(('identity', 'has_text',)) VIRTUAL_RTYPES = set(('eid', 'identity', 'has_text',))