(self)
Updates the user's stored list of tasks, removing all of those that should be ignored.
Updates the user's stored list of tasks, removing all of those that should be ignored.
Updates the user s stored list of tasks removing all of those that should be ignored .
def _update_tasks(self):
        # type: () -> None
        '''
        Updates the user's stored list of tasks, removing all of those that should be ignored.
        '''
        ignored = ignored_alerts.get_ignored(self['name'])
        cleaned_tasks = []
        for task in self.tasks:
            if task.title in ignored:
                logging.info('Ignoring task {0} for {1}'.format(task.title, self['name']))
                task.comment = ignored[task.title]
                task.set_verifying()
            else:
                cleaned_tasks.append(task)
        self.tasks = cleaned_tasks
def _update_tasks ( self ) : # type: () -> None ignored = ignored_alerts . get_ignored ( self [ 'name' ] ) cleaned_tasks = [ ] for task in self . tasks : if task . title in ignored : logging . info ( 'Ignoring task {0} for {1}' . format ( task . title , self [ 'name' ] ) ) task . comment = ignored [ task . title ] task . set_verifying ( ) else : cleaned_tasks . append ( task ) self . tasks = cleaned_tasks