Drop support for unsupported Python versions

This commit is contained in:
Roland Dobai
2021-05-26 10:44:20 +02:00
parent 3326cc852f
commit 407053592e
27 changed files with 149 additions and 196 deletions

View File

@@ -234,10 +234,6 @@ def _erase_ota_partition(target, ota_id):
def main():
if sys.version_info[0] < 3:
print('WARNING: Support for Python 2 is deprecated and will be removed in future versions.', file=sys.stderr)
elif sys.version_info[0] == 3 and sys.version_info[1] < 6:
print('WARNING: Python 3 versions older than 3.6 are not supported.', file=sys.stderr)
global quiet
parser = argparse.ArgumentParser('ESP-IDF OTA Partitions Tool')