doit/cmd_list.py
def _list_filtered(tasks, filter_tasks, include_subtasks):
        """return list of task based on selected 'filter_tasks' """
        check_tasks_exist(tasks, filter_tasks)

        # get task by name
        print_list = []
        for name in filter_tasks:
            task = tasks[name]
            print_list.append(task)
            if include_subtasks:
                print_list.extend(subtasks_iter(tasks, task))
        return print_list
return list of task based on selected 'filter_tasks' 
return list of task based on selected 'filter_tasks'
return list of task based on selected ' filter_tasks '
def _list_filtered(tasks, filter_tasks, include_subtasks):
        check_tasks_exist(tasks, filter_tasks)
        print_list = []
        for name in filter_tasks:
            task = tasks[name]
            print_list.append(task)
            if include_subtasks:
                print_list.extend(subtasks_iter(tasks, task))
        return print_list
def _list_filtered ( tasks , filter_tasks , include_subtasks ) : check_tasks_exist ( tasks , filter_tasks ) print_list = [ ] for name in filter_tasks : task = tasks [ name ] print_list . append ( task ) if include_subtasks : print_list . extend ( subtasks_iter ( tasks , task ) ) return print_list
return list of task based on selected 'filter_tasks'
return list of task based on selected ' filter_tasks '
"""return list of task based on selected 'filter_tasks' """ # get task by name
tasks
filter_tasks
include_subtasks