web/views/actions.py
changeset 5483 1a30c5a56256
parent 5480 2d5c46e78ae9
parent 5477 f79c39be0b9b
child 5527 01a7228ab5a0
--- 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):