Bug 1408365 - Enable flake8/py2/py3 linters on python/mozboot. r=ahal
MozReview-Commit-ID: 3koZq509bjP
This commit is contained in:
@@ -13,12 +13,14 @@
|
||||
# If we add unicode_literals, optparse breaks on Python 2.6.1 (which is needed
|
||||
# to support OS X 10.6).
|
||||
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
WRONG_PYTHON_VERSION_MESSAGE = '''
|
||||
Bootstrap currently only runs on Python 2.7 or Python 2.6. Please try re-running with python2.7 or python2.6.
|
||||
Bootstrap currently only runs on Python 2.7 or Python 2.6.
|
||||
Please try re-running with python2.7 or python2.6.
|
||||
|
||||
If these aren't available on your system, you may need to install them. Look for a "python2" or "python27" package in your package manager.
|
||||
If these aren't available on your system, you may need to install them.
|
||||
Look for a "python2" or "python27" package in your package manager.
|
||||
'''
|
||||
|
||||
import sys
|
||||
|
||||
Reference in New Issue
Block a user