Chromium Code Reviews| Index: chrome/common/extensions/PRESUBMIT.py |
| diff --git a/chrome/common/extensions/PRESUBMIT.py b/chrome/common/extensions/PRESUBMIT.py |
| index 2e138c94db282c94ab52cd1ed24e765e061fd2b7..ae017752d77683dc925981d07a6b8b8363584bdd 100644 |
| --- a/chrome/common/extensions/PRESUBMIT.py |
| +++ b/chrome/common/extensions/PRESUBMIT.py |
| @@ -48,7 +48,7 @@ def _FindMatchingTemplates(template_name, template_path_list): |
| unix_name = _UnixName(template_name) |
| for template in template_path_list: |
| if unix_name == _UnixName(template.split(os.sep)[-1]): |
| - matches.append(template) |
| + matches.append(os.path.splitext(template)[0]) |
|
not at google - send to devlin
2014/02/13 22:12:32
Comment needed
|
| return matches |
| def _SanitizeAPIName(name, api_path): |