Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index aecdd83fa50e9621f36557ba6583afd415ad0ce4..f75b9c861c670dd01baefeb5fe61840ac14c9b00 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -822,7 +822,7 @@ def CheckOwners(input_api, output_api, source_file_filter=None, |
output('Missing %s for these files:\n %s' % |
(needed, '\n '.join(sorted(missing_files))))] |
if not input_api.is_committing: |
- suggested_owners = owners_db.reviewers_for(affected_files, owner_email) |
+ suggested_owners = owners_db.reviewers_for(missing_files, owner_email) |
output_list.append(output('Suggested OWNERS:\n %s' % |
('\n '.join(suggested_owners or [])))) |
return output_list |