Fix PRESUBMIT.py erros on uploading DEPS change.
Depends on depot_tools change https://codereview.chromium.org/1955223002,
so if you think this broke you, please update depot_tools by just running
gclient with no arguments.
[email protected]
BUG=609832
nOTRY=true
Review-Url: https://codereview.chromium.org/1955993004
Cr-Commit-Position: refs/heads/master@{#393243}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index eb64901..4e5e5c3 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -1068,10 +1068,11 @@
output = output_api.PresubmitNotifyResult
owners_db = input_api.owners_db
- owner_email, reviewers = input_api.canned_checks._RietveldOwnerAndReviewers(
- input_api,
- owners_db.email_regexp,
- approval_needed=input_api.is_committing)
+ owner_email, reviewers = (
+ input_api.canned_checks.GetCodereviewOwnerAndReviewers(
+ input_api,
+ owners_db.email_regexp,
+ approval_needed=input_api.is_committing))
owner_email = owner_email or input_api.change.author_email