Commit 2ea4974f authored by "Sylvain ext:(%22)'s avatar "Sylvain ext:(%22)
Browse files

fix _ to unicode so we can have unicode description in schema file

parent fab8ba6631dc
ChangeLog for yams
------------------
--
* fix _ to unicode so we can have unicode description in schema file
2006-11-14 -- 0.9.2
* new "includefinal" optional argument to ESchema.relation_definitions
......
......@@ -2,7 +2,6 @@
relation definitions files or a direct python definition file)
:version: $Revision: 1.16 $
:organization: Logilab
:copyright: 2003-2006 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
......@@ -111,7 +110,7 @@ def _builder_context():
class PyFileReader(builder.FileReader):
"""read schema definition objects from a python file"""
context = {'_' : str}
context = {'_' : unicode}
context.update(_builder_context())
context.update(CONSTRAINTS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment