Commit 8a06be6b authored by maruel@chromium.org's avatar maruel@chromium.org

depot_tools doesn't support python 2.5 anymore.

Remove the stale presubmit warning.

TBR=dpranke@chromium.org
BUG=
TEST=


Review URL: http://codereview.chromium.org/9655005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@125696 0039d316-1c4b-4281-b951-d872f2087c98
parent 9eef4f27
......@@ -11,18 +11,6 @@ details on the presubmit API built into depot_tools.
def CommonChecks(input_api, output_api, tests_to_black_list):
results = []
import sys
if not sys.version.startswith('2.5'):
# Depot_tools has the particularity that it needs to be tested on python
# 2.5. But we don't want the presubmit check to fail if it is not installed.
results.append(output_api.PresubmitNotifyResult(
'You should install python 2.5 and run ln -s $(which python2.5) python.'
'\n'
'A great place to put this symlink is in depot_tools.\n'
'Otherwise, you break depot_tools on python 2.5, you get to keep the '
'pieces.'))
results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
black_list = list(input_api.DEFAULT_BLACK_LIST) + [
r'^cpplint\.py$',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment