[autopep8] E26 - Fix spacing after comment hash for inline comments
authorNoe Gaumont <ngaumont@logilab.fr>
Fri, 21 Jun 2019 11:19:06 +0200
changeset 61 4850d6de0db2
parent 60 4f9b0537209b
child 62 1efebbfb28ea
[autopep8] E26 - Fix spacing after comment hash for inline comments
cubicweb_treeview/views/formwidgets.py
cubicweb_treeview/views/treeview.py
--- a/cubicweb_treeview/views/formwidgets.py	Fri Jun 21 11:19:05 2019 +0200
+++ b/cubicweb_treeview/views/formwidgets.py	Fri Jun 21 11:19:06 2019 +0200
@@ -39,7 +39,7 @@
             u'''%(open_link)s&nbsp;%(remove_link)s</a>'''
             u'''<div id="sel_%(tree_uid)s">%(selected)s</div>'''
             u'''<div id="%(tree_uid)s" style="display: none;">'''
-            u'''<div class="error"></div><div id="holder_%(tree_uid)s">%(form)s</div></div>''') #'
+            u'''<div class="error"></div><div id="holder_%(tree_uid)s">%(form)s</div></div>''')  # '
 
     remove_link_html = u'''<a href="javascript:$.noop()" cubicweb:link="%s" class="remove_link"
     onclick="$('#sel_%s').empty()">[%s]</a>'''
--- a/cubicweb_treeview/views/treeview.py	Fri Jun 21 11:19:05 2019 +0200
+++ b/cubicweb_treeview/views/treeview.py	Fri Jun 21 11:19:06 2019 +0200
@@ -89,7 +89,7 @@
                 w(u'<ul class="placeholder"><li>place holder</li></ul>')
         # the local node info
         self.wview(vid, self.cw_rset, row=row, col=col, **morekwargs)
-        if is_open and not is_leaf: #  => rql is defined
+        if is_open and not is_leaf:  # => rql is defined
             self.wview(parentvid, self._children(itree), subvid=vid,
                        treeid=treeid, initial_load=False, **morekwargs)
         w(u'</li>')