#NEWLINE# def is_all_done( tiids , myredis ) : #NEWLINE# #INDENT# statuses = [ item_module . refresh_status ( all_done , myredis ) for tiid in tiids ] #NEWLINE# all_done = all ( [ refresh_status [ 'short' ] . startswith ( 'SUCCESS' ) for status in statuses ] ) #NEWLINE# return all_done