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

[autopep8] E22 - Fix extraneous whitespace around keywords

parent 15eb71762bd5
......@@ -98,7 +98,7 @@ class TVDefaultTreeViewItemView(treeview.DefaultTreeViewItemView):
def cell_call(self, row, col, vid='oneline', treeid=None, **morekwargs):
assert treeid is not None
entity = self.cw_rset.get_entity(row, col)
entity = self.cw_rset.get_entity(row, col)
itemview = entity.view(vid, **morekwargs)
# treeview customization : add css classe
liclasses = [u'cw-%s' % entity.__regid__.lower()]
......@@ -170,7 +170,7 @@ class TVTreeviewOneLineEditView(baseviews.InContextView):
def cell_call(self, row, col, tree_uid, multiple,
leavesonly, related, required, level):
entity = self.cw_rset.get_entity(row,col)
entity_name = xml_escape(entity.dc_title())
entity_name = xml_escape(entity.dc_title())
itree = entity.cw_adapt_to('ITree')
is_leaf = itree.is_editable_leaf()
entity_level = self.entity_level(itree)
......
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