--- a/server/schemaserial.py Fri Jul 31 23:27:53 2009 +0200
+++ b/server/schemaserial.py Fri Jul 31 23:30:56 2009 +0200
@@ -14,7 +14,7 @@
from yams import schema as schemamod, buildobjs as ybo
-from cubicweb.schema import CONSTRAINTS, ETYPE_NAME_MAP
+from cubicweb.schema import CONSTRAINTS, ETYPE_NAME_MAP, VIRTUAL_RTYPES
from cubicweb.server import sqlutils
def group_mapping(cursor, interactive=True):
@@ -294,7 +294,7 @@
groupmap = group_mapping(cursor, interactive=False)
for ertype in aller:
# skip eid and has_text relations
- if ertype in ('eid', 'identity', 'has_text',):
+ if ertype in VIRTUAL_RTYPES:
pb.update()
continue
for rql, kwargs in erschema2rql(schema[ertype]):