Commit 81665dcf authored by tandrii's avatar tandrii Committed by Commit bot

Add more debugging in presubmit owners check for Gerrit.

BUG=641384
R=phajdan.jr@chromium.org

Review-Url: https://codereview.chromium.org/2293523002
parent 42ffe773
......@@ -999,6 +999,8 @@ def _GerritOwnerAndReviewers(input_api, email_regexp, approval_needed=False):
reviewers = set(
r for r in input_api.gerrit.GetChangeReviewers(issue, approval_needed)
if _match_reviewer_email(r, owner_email, email_regexp))
input_api.logging.debug('owner: %s; approvals given by: %s',
owner_email, ', '.join(sorted(reviewers)))
return owner_email, reviewers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment