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

Unified Diff: PRESUBMIT.py

Issue 1955993004: Fix PRESUBMIT.py erros on uploading DEPS change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: nit Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 874734e4977c739df019f2d33496260820e4724d..b5e7fede3961018788d0bef1c5d7870b31e34cd4 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -1066,10 +1066,11 @@ def _CheckAddedDepsHaveTargetApprovals(input_api, output_api):
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698