Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: presubmit_canned_checks.py

Issue 1929653002: Remove manual check using Rietveld for dry run. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@P200
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/presubmit_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: presubmit_canned_checks.py
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py
index e63b798a32780f3e6dc317f93ba72b4882be6b4d..e21d08675f27849a0a40a1a580908a36b2826d3e 100644
--- a/presubmit_canned_checks.py
+++ b/presubmit_canned_checks.py
@@ -859,10 +859,7 @@ def CheckOwners(input_api, output_api, source_file_filter=None):
return [output_api.PresubmitNotifyResult(
'--tbr was specified, skipping OWNERS check')]
if input_api.change.issue:
- if (input_api.dry_run or
- # TODO(tandrii): clean below once CQ && run_presubmit.py recipe specify
- # dry_run property. http://crbug.com/605563.
- _GetRietveldIssueProps(input_api, None).get('cq_dry_run', False)):
+ if input_api.dry_run:
return [output_api.PresubmitNotifyResult(
'This is a dry run, skipping OWNERS check')]
else:
« no previous file with comments | « no previous file | tests/presubmit_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698