def __update_progress(self, match_method, items_to_complete, command_output): items_count = len(items_to_complete) for item in items_to_complete: if match_method(item, command_output): self.items_processed += 1 if self.items_processed <= items_count: log.progress(self.items_processed, items_count, '[ INFO ]: Processing')
def __update_progress( self, match_method, items_to_complete, command_output ): items_count = len(items_to_complete) for item in items_to_complete: if match_method(item, command_output): self.items_processed += 1 if self.items_processed <= items_count: log.progress( self.items_processed, items_count, '[ INFO ]: Processing' )
def __init_progress(self): log.progress( 0, 100, '[ INFO ]: Processing' )
def __stop_progress(self): log.progress( 100, 100, '[ INFO ]: Processing' )
def __stop_progress(self): log.progress(100, 100, '[ INFO ]: Processing')
def __init_progress(self): log.progress(0, 100, '[ INFO ]: Processing')