diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 21:43:04 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 21:43:04 +0000 |
commit | 4053a48edfd0dccb03cc2792d363b29ab87d1992 (patch) | |
tree | 55f3eedfe9caa4697c429417d3261108faa0f6c4 /PRESUBMIT.py | |
parent | 5caf01ff323ec396a1fb2064e8d65d8a919245b3 (diff) | |
download | chromium_src-4053a48edfd0dccb03cc2792d363b29ab87d1992.zip chromium_src-4053a48edfd0dccb03cc2792d363b29ab87d1992.tar.gz chromium_src-4053a48edfd0dccb03cc2792d363b29ab87d1992.tar.bz2 |
Presubmit fix: add missing png suffix.
TBR=maruel@chromium.org
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
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 738cae4..07674af 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -676,7 +676,7 @@ def _CheckHardcodedGoogleHostsInLowerLayers(input_api, output_api): 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()): |