Skip to content

Commit

Permalink
Add information for the user to update Python version
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mokibit committed Jan 25, 2025
1 parent d79ff01 commit cabb3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cabb3d2

Please sign in to comment.