cleanup tls-sprint
authorsylvain.thenault@logilab.fr
Thu, 19 Feb 2009 18:20:46 +0100
branchtls-sprint
changeset 843 5676811ef760
parent 839 3a76e0a2a0b0
child 844 8ab6f64c3750
cleanup
common/mixins.py
view.py
web/htmlwidgets.py
web/views/tableview.py
--- a/common/mixins.py	Thu Feb 19 10:21:32 2009 +0100
+++ b/common/mixins.py	Thu Feb 19 18:20:46 2009 +0100
@@ -2,7 +2,7 @@
 
 
 :organization: Logilab
-:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 __docformat__ = "restructuredtext en"
@@ -187,7 +187,7 @@
         if rset:
             return rset.get_entity(0, 0)
         return None
-    
+
     def change_state(self, stateeid, trcomment=None, trcommentformat=None):
         """change the entity's state according to a state defined in given
         parameters
--- a/view.py	Thu Feb 19 10:21:32 2009 +0100
+++ b/view.py	Thu Feb 19 18:20:46 2009 +0100
@@ -323,9 +323,7 @@
 # concrete views base classes #################################################
 
 class EntityView(View):
-    """base class for views applying on an entity (i.e. uniform result set)
-    """
-    # XXX deprecate
+    """base class for views applying on an entity (i.e. uniform result set)"""
     __registerer__ = accepts_registerer
     __select__ = non_final_entity()
     registered = accepts_compat(View.registered)
@@ -334,8 +332,8 @@
 
 
 class StartupView(View):
-    """base class for views which doesn't need a particular result set
-    to be displayed (so they can always be displayed !)
+    """base class for views which doesn't need a particular result set to be
+    displayed (so they can always be displayed !)
     """
     __registerer__ = priority_registerer
     __select__ = none_rset()
--- a/web/htmlwidgets.py	Thu Feb 19 10:21:32 2009 +0100
+++ b/web/htmlwidgets.py	Thu Feb 19 18:20:46 2009 +0100
@@ -4,7 +4,7 @@
 serialization time
 
 :organization: Logilab
-:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 
--- a/web/views/tableview.py	Thu Feb 19 10:21:32 2009 +0100
+++ b/web/views/tableview.py	Thu Feb 19 18:20:46 2009 +0100
@@ -245,6 +245,7 @@
         entity = self.rset.get_entity(row, col)
         return entity.sortvalue()
 
+
 class EditableTableView(TableView):
     id = 'editable-table'
     finalview = 'editable-final'