tweak replacing for-loop with call to map() function

svn: r13838
This commit is contained in:
Gerald Britton 2009-12-17 16:21:37 +00:00
parent c7cc7e727d
commit a52663d0cd

View File

@ -663,8 +663,7 @@ class ListView(NavigationView):
"""
if self.active:
cput = time.clock()
for handle in handle_list:
self.model.delete_row_by_handle(handle)
map(self.model.delete_row_by_handle, handle_list)
_LOG.debug(' ' + self.__class__.__name__ + ' row_delete ' +
str(time.clock() - cput) + ' sec')
self.uistate.show_filter_results(self.dbstate,