schema.py
changeset 4151 66fe38345a65
parent 4066 0555f170c4d1
child 4181 c79135c217df
--- a/schema.py	Mon Dec 21 18:42:53 2009 +0100
+++ b/schema.py	Mon Dec 21 18:43:16 2009 +0100
@@ -1074,11 +1074,8 @@
 
 # XXX deprecated
 
-from yams.constraints import format_constraint
-format_constraint = deprecated('[3.4] use RichString instead of format_constraint')(format_constraint)
 from yams.buildobjs import RichString
 
 PyFileReader.context['ERQLExpression'] = yobsolete(ERQLExpression)
 PyFileReader.context['RRQLExpression'] = yobsolete(RRQLExpression)
 PyFileReader.context['WorkflowableEntityType'] = WorkflowableEntityType
-PyFileReader.context['format_constraint'] = format_constraint