tweak replacing for-loop with call to map() function
svn: r13838
This commit is contained in:
parent
c7cc7e727d
commit
a52663d0cd
@ -663,8 +663,7 @@ class ListView(NavigationView):
|
|||||||
"""
|
"""
|
||||||
if self.active:
|
if self.active:
|
||||||
cput = time.clock()
|
cput = time.clock()
|
||||||
for handle in handle_list:
|
map(self.model.delete_row_by_handle, handle_list)
|
||||||
self.model.delete_row_by_handle(handle)
|
|
||||||
_LOG.debug(' ' + self.__class__.__name__ + ' row_delete ' +
|
_LOG.debug(' ' + self.__class__.__name__ + ' row_delete ' +
|
||||||
str(time.clock() - cput) + ' sec')
|
str(time.clock() - cput) + ' sec')
|
||||||
self.uistate.show_filter_results(self.dbstate,
|
self.uistate.show_filter_results(self.dbstate,
|
||||||
|
Loading…
Reference in New Issue
Block a user