# HG changeset patch # User Sylvain Thénault # Date 1246636813 -7200 # Node ID 5d90bd26af8bbe139f95933b69a812cf0281e713 # Parent 79bc598c6411402aafa431e6075b9b9edb077845 cleanup diff -r 79bc598c6411 -r 5d90bd26af8b web/component.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 diff -r 79bc598c6411 -r 5d90bd26af8b web/views/navigation.py --- 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):