summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 04:35:37 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 04:35:37 +0000
commit93372117fd610bcbcada3bb678f334e7840facd1 (patch)
tree227239a8eedcf1143a0acc92f503a357d0c3ae15 /PRESUBMIT.py
parent4862a2759ccc523b35d36b9d921bfc10fb86388a (diff)
downloadchromium_src-93372117fd610bcbcada3bb678f334e7840facd1.zip
chromium_src-93372117fd610bcbcada3bb678f334e7840facd1.tar.gz
chromium_src-93372117fd610bcbcada3bb678f334e7840facd1.tar.bz2
Allow PRESUBMIT.py to handle deleted files.
This is a follow up to Issue 43098. Review URL: http://codereview.chromium.org/42086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11619 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rwxr-xr-xPRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 5744641..b86bc14 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -69,7 +69,7 @@ def LocalChecks(input_api, output_api, max_cols=80):
eof_files = []
results = []
excluded_paths = [input_api.re.compile(x) for x in EXCLUDED_PATHS]
- files = input_api.AffectedFiles()
+ files = input_api.AffectedFiles(include_deletes=False)
for f in files:
path = f.LocalPath()
root, ext = input_api.os_path.splitext(path)