cleanups stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 30 Jun 2010 12:27:51 +0200
branchstable
changeset 5839 53cbdc5e0426
parent 5838 68187d50968e
child 5841 4cbcfed90905
cleanups
web/views/boxes.py
web/views/startup.py
--- a/web/views/boxes.py	Wed Jun 30 12:27:48 2010 +0200
+++ b/web/views/boxes.py	Wed Jun 30 12:27:51 2010 +0200
@@ -15,8 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""
-generic boxes for CubicWeb web client:
+"""Generic boxes for CubicWeb web client:
 
 * actions box
 * possible views box
@@ -24,8 +23,8 @@
 additional (disabled by default) boxes
 * schema box
 * startup views box
+"""
 
-"""
 __docformat__ = "restructuredtext en"
 _ = unicode
 
@@ -185,7 +184,6 @@
         for view in self._cw.vreg['views'].possible_views(self._cw, None):
             if view.category == 'startupview':
                 box.append(self.box_action(view))
-
         if not box.is_empty():
             box.render(self.w)
 
--- a/web/views/startup.py	Wed Jun 30 12:27:48 2010 +0200
+++ b/web/views/startup.py	Wed Jun 30 12:27:51 2010 +0200
@@ -17,8 +17,8 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """Set of HTML startup views. A startup view is global, e.g. doesn't
 apply to a result set.
+"""
 
-"""
 __docformat__ = "restructuredtext en"
 _ = unicode