schema.py
branchstable
changeset 3979 8f1b3fbb158f
parent 3978 2c95e3033f64
child 3980 b17cf4a2e09e
--- 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