Exclude deleted OWNERS files from presubmit tag check.

[email protected],[email protected],[email protected]
BUG=679129

Review-Url: https://codereview.chromium.org/2619763004
Cr-Commit-Position: refs/heads/master@{#442326}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 2677a4e4..2284a0f 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -758,7 +758,7 @@
       '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: