# HG changeset patch # User Sylvain Thénault # Date 1259830588 -3600 # Node ID b17cf4a2e09e845068ef6d557bac03d2d301bcbc # Parent 8f1b3fbb158f3ea6afb5edfd3ba299f356a18b01 this constraint is actually unusable in yams schema for cw diff -r 8f1b3fbb158f -r b17cf4a2e09e 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)