--- 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):