summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 01:29:26 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 01:29:26 +0000
commit4efa4214727d3cc50f9ca876f843ad4b57e7c479 (patch)
tree073eead6bda5e631f130db499922fcce31ee791f /PRESUBMIT.py
parentaf9c774ef742b051195b95194e22440cab01bdbd (diff)
downloadchromium_src-4efa4214727d3cc50f9ca876f843ad4b57e7c479.zip
chromium_src-4efa4214727d3cc50f9ca876f843ad4b57e7c479.tar.gz
chromium_src-4efa4214727d3cc50f9ca876f843ad4b57e7c479.tar.bz2
Using json based tree status check.
BUG=None TEST=None Review URL: http://codereview.chromium.org/3116046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57444 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 4c0aff1..4a4f8579 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -111,8 +111,7 @@ def CheckChangeOnCommit(input_api, output_api):
results.extend(input_api.canned_checks.CheckTreeIsOpen(
input_api,
output_api,
- 'http://chromium-status.appspot.com/current?format=raw',
- '(?i).*closed.*'))
+ json_url='http://chromium-status.appspot.com/current?format=json'))
results.extend(input_api.canned_checks.CheckRietveldTryJobExecution(input_api,
output_api, 'http://codereview.chromium.org', ('win', 'linux', 'mac'),
'tryserver@chromium.org'))