Skip to content

Commit 81925b8

Browse files
committed
Minor syntax cleanup
1 parent 5a38820 commit 81925b8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

compute_worker/compute_worker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -823,9 +823,7 @@ async def _run_container_engine_cmd(self, container, kind):
823823
)
824824

825825
# If we enter the for loop after the container exited, the program will get stuck
826-
if (
827-
client.inspect_container(container)["State"]["Status"].lower() == "running"
828-
):
826+
if client.inspect_container(container)["State"]["Status"].lower() == "running":
829827
logger.debug(
830828
"Show the logs and stream them to codabench " + container.get("Id")
831829
)

0 commit comments

Comments
 (0)