--- a/schema.py Thu Dec 03 09:55:18 2009 +0100
+++ b/schema.py Thu Dec 03 09:56:15 2009 +0100
@@ -266,16 +266,6 @@
ERSchema.has_local_role = ERSchema_has_local_role
-def system_etypes(schema):
- """return system entity types only: skip final, schema and application entities
- """
- for eschema in schema.entities():
- if eschema.final or eschema.schema_entity():
- continue
- yield eschema.type
-
-# Schema objects definition ###################################################
-
class CubicWebEntitySchema(EntitySchema):
"""a entity has a type, a set of subject and or object relations
the entity schema defines the possible relations for a given type and some