this constraint is actually unusable in yams schema for cw stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 03 Dec 2009 09:56:28 +0100
branchstable
changeset 3980 b17cf4a2e09e
parent 3979 8f1b3fbb158f
child 3981 8029019884af
this constraint is actually unusable in yams schema for cw
schema.py
--- a/schema.py	Thu Dec 03 09:56:15 2009 +0100
+++ b/schema.py	Thu Dec 03 09:56:28 2009 +0100
@@ -955,6 +955,7 @@
 CONSTRAINTS['RQLConstraint'] = RQLConstraint
 CONSTRAINTS['RQLUniqueConstraint'] = RQLUniqueConstraint
 CONSTRAINTS['RQLVocabularyConstraint'] = RQLVocabularyConstraint
+CONSTRAINTS.pop('MultipleStaticVocabularyConstraint', None) # don't want this in cw yams schema
 PyFileReader.context.update(CONSTRAINTS)