[views] Use canonical way to define _
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Feb 2017 14:31:37 +0100
changeset 68 e4c9b0133b6f
parent 67 f2a2fba35e04
child 71 a1789d380f77
[views] Use canonical way to define _
views/templates.py
--- a/views/templates.py	Fri Feb 03 14:30:45 2017 +0100
+++ b/views/templates.py	Fri Feb 03 14:31:37 2017 +0100
@@ -15,10 +15,9 @@
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 """sherpa views/templates"""
 
-from six import text_type as _
-
 from logilab.common.decorators import monkeypatch
 
+from cubicweb import _
 from cubicweb.utils import json_dumps, HTMLHead, UStringIO
 from cubicweb.web.views import basetemplates