Skip to content

Commit

Permalink
Remove redundant Executor.submit() call (#9677)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSven73 authored Sep 15, 2024
1 parent 3183126 commit 83e8054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/installation/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def execute(self, operations: list[Operation]) -> int:
wait(tasks)

for operation in serial_operations:
wait([self._executor.submit(self._execute_operation, operation)])
self._execute_operation(operation)

except KeyboardInterrupt:
self._shutdown = True
Expand Down

0 comments on commit 83e8054

Please sign in to comment.