From 5cce7ed015ee72ab826bf80d5e6895eca276c8fd Mon Sep 17 00:00:00 2001 From: Elsa Date: Wed, 9 Apr 2025 08:46:24 +0800 Subject: [PATCH] Format --- podman_compose.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/podman_compose.py b/podman_compose.py index 8f54eca..0db1104 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -2761,7 +2761,7 @@ def deps_from_container(args, cnt): async def compose_up(compose: PodmanCompose, args): excluded = get_excluded(compose, args) exit_code = 0 - + if not args.no_build: # `podman build` does not cache, so don't always build build_args = argparse.Namespace(if_not_exists=(not args.build), **args.__dict__) @@ -2809,14 +2809,14 @@ async def compose_up(compose: PodmanCompose, args): subproc = await compose.podman.run([], podman_command, podman_args) if subproc is not None and subproc != 0: exit_code = subproc - + if podman_command == "run" and subproc is not None: container_result = await run_container( compose, cnt["name"], deps_from_container(args, cnt), ([], "start", [cnt["name"]]) ) if container_result is not None and container_result != 0: exit_code = container_result - + if args.dry_run: return None if args.no_start or args.detach: