Skip to content

Commit b62cede

Browse files
authored
[Fix] one big combined if statement for dependency management (#1016)
* [Fix] one big combined if statement for dependency management * task_done() should only be called after exception
1 parent 04f2983 commit b62cede

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/executorlib/task_scheduler/interactive/dependency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _execute_tasks_with_dependencies(
269269
future_queue.task_done()
270270
future_queue.join()
271271
break
272-
if ( # shutdown the executor
272+
elif ( # handle internal tasks for getting and setting information about the executor
273273
task_dict is not None and "internal" in task_dict and task_dict["internal"]
274274
):
275275
if task_dict["task"] == "get_info":

0 commit comments

Comments
 (0)