Skip to content

Commit 83e8054

Browse files
authored
Remove redundant Executor.submit() call (#9677)
1 parent 3183126 commit 83e8054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poetry/installation/executor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def execute(self, operations: list[Operation]) -> int:
168168
wait(tasks)
169169

170170
for operation in serial_operations:
171-
wait([self._executor.submit(self._execute_operation, operation)])
171+
self._execute_operation(operation)
172172

173173
except KeyboardInterrupt:
174174
self._shutdown = True

0 commit comments

Comments
 (0)