diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-01-13 23:46:35 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-01-13 23:46:35 +0000 |
commit | d2849ac01e2255736794a6f256098b388b5c866c (patch) | |
tree | 64e8f08e32dd93460a2d7d185bc49d98403563fb | |
parent | ea6c7d7c9177be09d2386ae4adc319b62193b39c (diff) | |
parent | 5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76 (diff) | |
download | repohooks-d2849ac01e2255736794a6f256098b388b5c866c.tar.gz |
Snap for 7080740 from 5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76 to mainline-tzdata2-release
Change-Id: Ibaa7e80341cc77d2cf66583c9e110b1adc16ede1
-rwxr-xr-x | pre-upload.py | 4 | ||||
-rwxr-xr-x | tools/pylint.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pre-upload.py b/pre-upload.py index 0e032f4..7eb11b8 100755 --- a/pre-upload.py +++ b/pre-upload.py @@ -26,8 +26,8 @@ import sys # Assert some minimum Python versions as we don't test or support any others. -if sys.version_info < (3, 5): - print('repohooks: error: Python-3.5+ is required', file=sys.stderr) +if sys.version_info < (3, 6): + print('repohooks: error: Python-3.6+ is required', file=sys.stderr) sys.exit(1) diff --git a/tools/pylint.py b/tools/pylint.py index 60f4b67..570f055 100755 --- a/tools/pylint.py +++ b/tools/pylint.py @@ -23,8 +23,8 @@ import sys import subprocess -assert (sys.version_info.major, sys.version_info.minor) >= (3, 5), ( - 'Python 3.5 or newer is required; found %s' % (sys.version,)) +assert (sys.version_info.major, sys.version_info.minor) >= (3, 6), ( + 'Python 3.6 or newer is required; found %s' % (sys.version,)) DEFAULT_PYLINTRC_PATH = os.path.join( |