[autopep8] E22 - Fix extraneous whitespace around keywords
authorNoe Gaumont <ngaumont@logilab.fr>
Fri, 21 Jun 2019 11:19:04 +0200
changeset 58 cb72a0cbc2b7
parent 57 15eb71762bd5
child 59 e777ae94fb53
[autopep8] E22 - Fix extraneous whitespace around keywords
cubicweb_treeview/views/treeview.py
--- a/cubicweb_treeview/views/treeview.py	Fri Jun 21 11:19:03 2019 +0200
+++ b/cubicweb_treeview/views/treeview.py	Fri Jun 21 11:19:04 2019 +0200
@@ -98,7 +98,7 @@
 
     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 @@
     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)