Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: tools/telemetry/telemetry/core/discover.py

Issue 319813004: [Telemetry] Update copyright header style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698