Formatting

This commit is contained in:
Wojciech Kozlowski 2022-11-28 23:19:49 +01:00
parent 2dbaf0f93a
commit 61ae529744

View File

@ -29,9 +29,11 @@ def podman_image_inspect(image):
raise ValueError("podman image inspect returned multiple entries") raise ValueError("podman image inspect returned multiple entries")
return inspect[0] return inspect[0]
def podman_pull(image): def podman_pull(image):
subprocess.run(["podman", "pull", image], capture_output=True, check=True) subprocess.run(["podman", "pull", image], capture_output=True, check=True)
if __name__ == "__main__": if __name__ == "__main__":
containers = podman_ps() containers = podman_ps()