--- a/web/views/actions.py Wed May 05 18:39:59 2010 +0200
+++ b/web/views/actions.py Wed May 05 18:48:31 2010 +0200
@@ -15,14 +15,15 @@
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
-"""Set of HTML base actions
+"""Set of HTML base actions"""
-"""
__docformat__ = "restructuredtext en"
_ = unicode
from warnings import warn
+from logilab.mtconverter import xml_escape
+
from cubicweb.schema import display_name
from cubicweb.appobject import objectify_selector
from cubicweb.selectors import (EntitySelector, yes,
@@ -421,7 +422,6 @@
title = _('Got rhythm?')
def url(self):
- from logilab.mtconverter import xml_escape
return xml_escape(self._cw.url()+'#')
def html_class(self):