# HG changeset patch # User Sylvain Thénault # Date 1278401946 -7200 # Node ID 67683b7e591a4322b94fe968690a7eba8b15d3e1 # Parent 6a3f776292a50d6a65c4a187f667bc3d6c03b31b cleanups diff -r 6a3f776292a5 -r 67683b7e591a schema.py --- a/schema.py Mon Jul 05 19:06:17 2010 +0200 +++ b/schema.py Tue Jul 06 09:39:06 2010 +0200 @@ -417,7 +417,7 @@ # avoid deleting the relation type accidentally... self.schema['has_text'].del_relation_def(self, self.schema['String']) - def schema_entity(self): + def schema_entity(self): # XXX @property for consistency with meta """return True if this entity type is used to build the schema""" return self.type in SCHEMA_TYPES @@ -441,7 +441,7 @@ def meta(self): return self.type in META_RTYPES - def schema_relation(self): + def schema_relation(self): # XXX @property for consistency with meta """return True if this relation type is used to build the schema""" return self.type in SCHEMA_TYPES diff -r 6a3f776292a5 -r 67683b7e591a schemas/base.py --- a/schemas/base.py Mon Jul 05 19:06:17 2010 +0200 +++ b/schemas/base.py Tue Jul 06 09:39:06 2010 +0200 @@ -15,9 +15,8 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""core CubicWeb schema, but not necessary at bootstrap time +"""core CubicWeb schema, but not necessary at bootstrap time""" -""" __docformat__ = "restructuredtext en" _ = unicode diff -r 6a3f776292a5 -r 67683b7e591a server/schemaserial.py --- a/server/schemaserial.py Mon Jul 05 19:06:17 2010 +0200 +++ b/server/schemaserial.py Tue Jul 06 09:39:06 2010 +0200 @@ -15,9 +15,8 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""functions for schema / permissions (de)serialization using RQL +"""functions for schema / permissions (de)serialization using RQL""" -""" __docformat__ = "restructuredtext en" import os diff -r 6a3f776292a5 -r 67683b7e591a web/views/primary.py --- a/web/views/primary.py Mon Jul 05 19:06:17 2010 +0200 +++ b/web/views/primary.py Tue Jul 06 09:39:06 2010 +0200 @@ -15,9 +15,8 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""The default primary view +"""The default primary view""" -""" __docformat__ = "restructuredtext en" _ = unicode