cleanup stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Jul 2009 18:00:13 +0200
branchstable
changeset 2259 5d90bd26af8b
parent 2258 79bc598c6411
child 2262 d0cec91ff4c5
cleanup
web/component.py
web/views/navigation.py
--- a/web/component.py	Fri Jul 03 18:00:07 2009 +0200
+++ b/web/component.py	Fri Jul 03 18:00:13 2009 +0200
@@ -6,6 +6,7 @@
 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
 __docformat__ = "restructuredtext en"
+_ = unicode
 
 from logilab.common.deprecation import class_renamed
 from logilab.mtconverter import html_escape
@@ -18,7 +19,6 @@
     partial_has_related_entities, condition_compat, accepts_compat,
     has_relation_compat)
 
-_ = unicode
 
 class EntityVComponent(Component):
     """abstract base class for additinal components displayed in content
--- a/web/views/navigation.py	Fri Jul 03 18:00:07 2009 +0200
+++ b/web/views/navigation.py	Fri Jul 03 18:00:13 2009 +0200
@@ -6,6 +6,7 @@
 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
 __docformat__ = "restructuredtext en"
+_ = unicode
 
 from rql.nodes import VariableRef, Constant
 
@@ -19,8 +20,6 @@
 from cubicweb.common.uilib import cut
 from cubicweb.web.component import EntityVComponent, NavigationComponent
 
-_ = unicode
-
 
 class PageNavigation(NavigationComponent):