

def set_task_status_recursively(self, supertask, status):
    supertask.status = consts.TASK_STATUSES.ready
    for sub_task in supertask.subtasks:
        self.set_task_status_recursively(supertask, status)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py EnvironmentManager.set_task_status_recursively/VarMisuse@37/59 `sub_task`->`supertask`