# HG changeset patch # User Sylvain Thénault # Date 1259830575 -3600 # Node ID 8f1b3fbb158f3ea6afb5edfd3ba299f356a18b01 # Parent 2c95e3033f64906aab0466401952b7729dea483e unused since a long time now diff -r 2c95e3033f64 -r 8f1b3fbb158f schema.py --- 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