[python3] use cubicweb._, don't use the "unicode" builtin
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 02 May 2018 18:06:58 +0200
changeset 191 cef26bcef2e2
parent 190 bf1fe1d24629
child 192 a446efad6f9d
[python3] use cubicweb._, don't use the "unicode" builtin
cubicweb_keyword/schema.py
--- a/cubicweb_keyword/schema.py	Wed Sep 27 11:07:58 2017 +0200
+++ b/cubicweb_keyword/schema.py	Wed May 02 18:06:58 2018 +0200
@@ -8,9 +8,8 @@
                             SubjectRelation, ObjectRelation, String)
 
 from cubicweb.schema import RQLConstraint, ERQLExpression
-
+from cubicweb import _
 
-_ = unicode
 
 class Classification(EntityType):
     """classification schemes are used by users to classify entities.