cleanups stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 24 Mar 2011 13:22:20 +0100
branchstable
changeset 7103 9acffa1ecb2f
parent 7102 0b7966f7bbcd
child 7107 5ea4bf53eff2
cleanups
schema.py
web/views/ibreadcrumbs.py
--- a/schema.py	Thu Mar 24 13:22:10 2011 +0100
+++ b/schema.py	Thu Mar 24 13:22:20 2011 +0100
@@ -797,6 +797,7 @@
 
 
 class RQLExpression(object):
+
     def __init__(self, expression, mainvars, eid):
         self.eid = eid # eid of the entity representing this rql expression
         if not isinstance(mainvars, unicode):
--- a/web/views/ibreadcrumbs.py	Thu Mar 24 13:22:10 2011 +0100
+++ b/web/views/ibreadcrumbs.py	Thu Mar 24 13:22:20 2011 +0100
@@ -196,7 +196,7 @@
     def cell_call(self, row, col, **kwargs):
         entity = self.cw_rset.get_entity(row, col)
         desc = xml_escape(uilib.cut(entity.dc_description(), 50))
-        # XXX remember camember : tags.a autoescapes !
+        # NOTE remember camember: tags.a autoescapes
         self.w(tags.a(entity.view('breadcrumbtext'),
                       href=entity.absolute_url(), title=desc))