web/views/basecomponents.py
branchstable
changeset 1937 fc702ea02b25
parent 1739 78b0819162a8
child 1968 d3de0f44b57b
--- a/web/views/basecomponents.py	Mon May 25 16:54:13 2009 +0200
+++ b/web/views/basecomponents.py	Tue May 26 09:31:15 2009 +0200
@@ -8,6 +8,7 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 __docformat__ = "restructuredtext en"
+_ = unicode
 
 from rql import parse
 
@@ -18,8 +19,6 @@
 from cubicweb.web.htmlwidgets import (MenuWidget, PopupBoxMenu, BoxSeparator,
                                       BoxLink)
 
-_ = unicode
-
 VISIBLE_PROP_DEF = {
     _('visible'):  dict(type='Boolean', default=False,
                         help=_('display the component or not')),