Chromium Code Reviews| Index: tools/metrics/actions/extract_actions.py |
| diff --git a/tools/metrics/actions/extract_actions.py b/tools/metrics/actions/extract_actions.py |
| index 63818f331165614dd04354261943a16ccd6b93bd..ecd72a3b3baf84e17174b4bdc9c1d56800485427 100755 |
| --- a/tools/metrics/actions/extract_actions.py |
| +++ b/tools/metrics/actions/extract_actions.py |
| @@ -506,7 +506,7 @@ def WalkDirectory(root_path, actions, extensions, callback): |
| dirs.remove('.git') |
| for file in files: |
| ext = os.path.splitext(file)[1] |
| - if ext in extensions: |
| + if ext and ext in extensions: |
|
Alexei Svitkine (slow)
2014/11/12 22:27:00
This seems unrelated to the change you're making t
gayane -on leave until 09-2017
2014/11/15 00:09:09
Done.
|
| callback(os.path.join(path, file), actions) |
| def AddLiteralActions(actions): |