Presubmit fix: add missing png suffix.
[email protected]
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/12033111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178899 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 738cae48..07674af 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -676,7 +676,7 @@
def _CheckNoAbbreviationInPngFileName(input_api, output_api):
"""Makes sure there are no abbreviations in the name of PNG files.
"""
- pattern = input_api.re.compile(r'.*_[a-z]_|.*_[a-z].png$')
+ pattern = input_api.re.compile(r'.*_[a-z]_.*\.png$|.*_[a-z]\.png$')
errors = []
for f in input_api.AffectedFiles(include_deletes=False):
if pattern.match(f.LocalPath()):