Commit 72ee1edf authored by Rémi Cardona's avatar Rémi Cardona
Browse files

[py3k] replace 'unicode' with 'cubicweb._'

parent 75fdc99cfd4c
......@@ -5,7 +5,11 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__ = "restructuredtext en"
_ = unicode
try:
from cubicweb import _
except ImportError:
_ = unicode
# pylint: disable-msg=E0611,F0401
from yams.buildobjs import (SubjectRelation, RelationType, EntityType,
......
......@@ -5,7 +5,11 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__ = "restructuredtext en"
_ = unicode
try:
from cubicweb import _
except ImportError:
_ = unicode
from logilab.mtconverter import xml_escape
......
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