[schema] import types from yams.buildobjs to remove warnings stable oldstable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Sat, 06 Feb 2010 18:57:36 +0100
branchstable
changeset 156 1bcc5b5693c9
parent 126 61a4652d46fc
child 160 65c3bb0b8e0c
child 167 b269ce395932
[schema] import types from yams.buildobjs to remove warnings
schema.py
--- a/schema.py	Tue Sep 08 16:36:35 2009 +0200
+++ b/schema.py	Sat Feb 06 18:57:36 2010 +0100
@@ -1,3 +1,5 @@
+from yams.buildobjs import EntityType, String, SubjectRelation
+
 from cubicweb.schema import format_constraint
 
 class Blog(EntityType):