| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import fnmatch | 5 import fnmatch |
| 6 import inspect | 6 import inspect |
| 7 import os | 7 import os |
| 8 import re | 8 import re |
| 9 | 9 |
| 10 from telemetry import decorators | 10 from telemetry import decorators |
| 11 from telemetry.core import camel_case | 11 from telemetry.core import camel_case |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 def GetAllPageSetFilenames(dir_path): | 138 def GetAllPageSetFilenames(dir_path): |
| 139 results = [] | 139 results = [] |
| 140 for sub_path, _, filenames in os.walk(dir_path): | 140 for sub_path, _, filenames in os.walk(dir_path): |
| 141 for f in filenames: | 141 for f in filenames: |
| 142 if f.startswith('.'): | 142 if f.startswith('.'): |
| 143 continue | 143 continue |
| 144 filename = os.path.join(sub_path, f) | 144 filename = os.path.join(sub_path, f) |
| 145 if IsPageSetFile(filename): | 145 if IsPageSetFile(filename): |
| 146 results.append(filename) | 146 results.append(filename) |
| 147 return results | 147 return results |
| OLD | NEW |