--- 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