From cabb3d2ac0d7702e1258c406b2e8e2e95bb90d46 Mon Sep 17 00:00:00 2001 From: Monika Kairaityte Date: Sat, 25 Jan 2025 15:36:38 +0200 Subject: [PATCH] Add information for the user to update Python version A descriptive error can not be thrown, as line "from __future__ imports" must occur at the beginning of the file, but older Python does not recognize __future__ and throws an error immediately. Therefore, a comment is used to inform user to update his Python version. Signed-off-by: Monika Kairaityte --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index a745262d..38df7225 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -7,7 +7,7 @@ # https://docs.docker.com/compose/django/ # https://docs.docker.com/compose/wordpress/ # TODO: podman pod logs --color -n -f pod_testlogs -from __future__ import annotations +from __future__ import annotations # If you see an error here, use Python 3.7 or greater import argparse import asyncio.exceptions