diff options
author | David Heidelberg <david@ixit.cz> | 2021-05-11 11:54:36 +0200 |
---|---|---|
committer | David Heidelberg <david@ixit.cz> | 2021-07-19 14:24:29 +0200 |
commit | aa0484d76b76112a1d395fb81897b31cb7113cdb (patch) | |
tree | 95a2ecf4d4ef4c20bebb277a5b91641e930d2baf /python | |
parent | e8cb9f56e3fd0273d8984bc89639723c4f1d5482 (diff) | |
download | servo-aa0484d76b76112a1d395fb81897b31cb7113cdb.tar.gz servo-aa0484d76b76112a1d395fb81897b31cb7113cdb.zip |
mach: cleanup after dropping Python 2 support
Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'python')
-rw-r--r-- | python/mach_bootstrap.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py index 0c5eb005694..88f0fdbe8a0 100644 --- a/python/mach_bootstrap.py +++ b/python/mach_bootstrap.py @@ -279,10 +279,10 @@ def bootstrap(topdir): print('Current path:', topdir) sys.exit(1) - # Ensure we are running Python 2.7+ or Python 3.5+. We put this check here so we generate a + # Ensure we are running Python 3.5+. We put this check here so we generate a # user-friendly error message rather than a cryptic stack trace on module import. - if sys.version_info < (2, 7) or (sys.version_info >= (3, 0) and sys.version_info < (3, 5)): - print('Python2 (>=2.7) or Python3 (>=3.5) is required to run mach.') + if sys.version_info < (3, 5): + print('Python3 (>=3.5) is required to run mach.') print('You are running Python', platform.python_version()) sys.exit(1) |