From 8a06be6b3c2206f109099ca75aaa97782fd35cef Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Thu, 8 Mar 2012 22:02:06 +0000 Subject: [PATCH] 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 --- PRESUBMIT.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 3ae6bcb0f..39794a818 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -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$',