Commit b9ec92be authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

[autopep8] E26 - Fix spacing after comment hash for inline comments

parent 4f9b0537209b
......@@ -39,7 +39,7 @@ class TreeViewWidget(fwdgs.FieldWidget):
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>'''
......
......@@ -89,7 +89,7 @@ class TVTreeViewItemView(treeview.TreeViewItemView):
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>')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment