web/component.py
changeset 2058 7ef12c03447c
parent 1977 606923dff11b
child 2293 7ded2a1416e4
--- a/web/component.py	Fri Jun 05 15:06:55 2009 +0200
+++ b/web/component.py	Fri Jun 05 15:09:20 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