# HG changeset patch # User Sylvain Thénault # Date 1467965595 -7200 # Node ID 31e2de4d23a619f77e73acabf41991a53b85c3bb # Parent 2046b3a4da5d0f38d23e5c82018f70acaac4fd14 Drop bits from the past (no more dbapi isolated installation) 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',))