[PATCH 05 of 26] [autopep8] E303 - Remove extra blank lines

Laurent Peuch cortex at worlddomination.be
Thu May 23 00:41:05 CEST 2019


# HG changeset patch
# User Laurent Peuch <cortex at worlddomination.be>
# Date 1558527671 -7200
#      Wed May 22 14:21:11 2019 +0200
# Node ID 20488ddb1d9131642f7865edac25ba3e60ba58b3
# Parent  ba7c9c8772042c07f6369329398f6c68bc49f02f
[autopep8] E303 - Remove extra blank lines

diff --git a/cubicweb/utils.py b/cubicweb/utils.py
--- a/cubicweb/utils.py
+++ b/cubicweb/utils.py
@@ -270,7 +270,6 @@ class HTMLHead(UStringIO):
         self.add_post_inline_script(u"""$(cw).one('server-response', function(event) {
 %s});""" % jscode)
 
-
     def add_js(self, jsfile):
         """adds `jsfile` to the list of javascripts used in the webpage
 
@@ -338,7 +337,6 @@ class HTMLHead(UStringIO):
         if concatable:
             yield (self.concat_urls(concatable), prev_key)
 
-
     def getvalue(self, skiphead=False):
         """reimplement getvalue to provide a consistent (and somewhat browser
         optimzed cf. http://stevesouders.com/cuzillion) order in external



More information about the cubicweb-devel mailing list