this bw compat doesn't work, drop it
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 21 Dec 2009 18:43:16 +0100
changeset 4151 66fe38345a65
parent 4150 2835482b8daf
child 4152 30fd1229137d
this bw compat doesn't work, drop it
schema.py
--- 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