scripts: sd_fusing: Check the minimum required Python version
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 14 Oct 2024 23:59:48 +0000 (08:59 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 4 Dec 2024 11:59:27 +0000 (20:59 +0900)
commit6e74ad1557beffa22511a8b7b1575305837c161f
tree1f8981b4bf07a52dd8adc2403b76742262c4982b
parentbc388bbdea7979db593e87db9337464d895d017b
scripts: sd_fusing: Check the minimum required Python version

"extend" of action was added since python3.8.
If python version is lower than 3.8, it will be occurred the error like below.

Traceback (most recent call last):
  File "./scripts/tizen/sd_fusing.py", line 1375, in <module>
    help="binary to flash, may be used multiple times")
  File "/usr/local/lib/python3.7/argparse.py", line 1358, in add_argument
    raise ValueError('unknown action "%s"' % (action_class,))
ValueError: unknown action "extend"

Refer to Python Doc:
3.7 - https://docs.python.org/3.7/library/argparse.html#action
3.8 - https://docs.python.org/3.8/library/argparse.html#action

Change-Id: I8d9deafcddbe67f80adc310d01f22891a2d802ae
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
sd_fusing.py