schema.py
changeset 2742 9439c61eb84c
parent 2741 148d0cea1fb5
child 2782 998f24dabd0d
--- 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