# HG changeset patch # User Sylvain Thénault # Date 1249656629 -7200 # Node ID 9439c61eb84ce823e47fef607e5a9847ea0844e9 # Parent 148d0cea1fb547be3c1108a628a6b8f89259996d [bw compat] restore format_constraint into schema file context diff -r 148d0cea1fb5 -r 9439c61eb84c schema.py --- a/schema.py Fri Aug 07 16:50:09 2009 +0200 +++ b/schema.py Fri Aug 07 16:50:29 2009 +0200 @@ -946,3 +946,4 @@ # XXX deprecated from yams.constraints import format_constraint from yams.buildobjs import RichString +PyFileReader.context['format_constraint'] = format_constraint