Use more standard call to list.append

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
Povilas Kanapickas 2025-05-19 18:28:16 +03:00
parent 8aeeafb98c
commit 02166f584a

View File

@ -2674,7 +2674,7 @@ def container_to_build_args(compose, cnt, args, path_exists, cleanup_callbacks=N
os.remove(dockerfile)
if cleanup_callbacks is not None:
list.append(cleanup_callbacks, cleanup_temp_dockfile)
cleanup_callbacks.append(cleanup_temp_dockfile)
build_args = []