Skip to content

Commit

Permalink
Exclude deleted OWNERS files from presubmit tag check.
Browse files Browse the repository at this point in the history
R=stgao@chromium.org,mfoltz@chromium.org,dpranke@chromium.org
BUG=679129

Review-Url: https://codereview.chromium.org/2619763004
Cr-Commit-Position: refs/heads/master@{#442326}
  • Loading branch information
ro-berto authored and Commit bot committed Jan 9, 2017
1 parent cc39c5b commit 5eb8231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def _CheckTeamTags(input_api, output_api):
'tools', 'checkteamtags', 'checkteamtags.py')
args = [input_api.python_executable, checkteamtags_tool,
'--root', input_api.change.RepositoryRoot()]
files = [f.LocalPath() for f in input_api.AffectedFiles()
files = [f.LocalPath() for f in input_api.AffectedFiles(include_deletes=False)
if input_api.os_path.basename(f.AbsoluteLocalPath()).upper() ==
'OWNERS']
try:
Expand Down

0 comments on commit 5eb8231

Please sign in to comment.