aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-01-07 02:02:29 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-01-07 02:02:29 +0000
commit1960e6d8811e700a4857220d5e11e3bcfa1b8815 (patch)
tree64e8f08e32dd93460a2d7d185bc49d98403563fb
parentfb8b6213dec12a0d7950db4bb91a39277b24b169 (diff)
parent5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76 (diff)
downloadrepohooks-1960e6d8811e700a4857220d5e11e3bcfa1b8815.tar.gz
Snap for 7066627 from 5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76 to sc-release
Change-Id: I0c8239db9b851ba4b08b4e04f3d6cfa6c3723f4a
-rwxr-xr-xpre-upload.py4
-rwxr-xr-xtools/pylint.py4
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(