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

Side by Side Diff: tools/telemetry/telemetry/page/page_set.py

Issue 445793004: Fix import order with isort tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 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
OLDNEW
1 # Copyright 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 csv 5 import csv
6 import inspect 6 import inspect
7 import os 7 import os
8 8
9 from telemetry.core import util 9 from telemetry.core import util
10 from telemetry.page import page as page_module 10 from telemetry.page import page as page_module
11 from telemetry.page import page_set_archive_info 11 from telemetry.page import page_set_archive_info
12 from telemetry.util import cloud_storage 12 from telemetry.util import cloud_storage
13 13
14
15 PUBLIC_BUCKET = cloud_storage.PUBLIC_BUCKET 14 PUBLIC_BUCKET = cloud_storage.PUBLIC_BUCKET
16 PARTNER_BUCKET = cloud_storage.PARTNER_BUCKET 15 PARTNER_BUCKET = cloud_storage.PARTNER_BUCKET
17 INTERNAL_BUCKET = cloud_storage.INTERNAL_BUCKET 16 INTERNAL_BUCKET = cloud_storage.INTERNAL_BUCKET
18 17
19 18
20 class PageSetError(Exception): 19 class PageSetError(Exception):
21 pass 20 pass
22 21
23 22
24 class PageSet(object): 23 class PageSet(object):
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 return self.pages.__iter__() 180 return self.pages.__iter__()
182 181
183 def __len__(self): 182 def __len__(self):
184 return len(self.pages) 183 return len(self.pages)
185 184
186 def __getitem__(self, key): 185 def __getitem__(self, key):
187 return self.pages[key] 186 return self.pages[key]
188 187
189 def __setitem__(self, key, value): 188 def __setitem__(self, key, value):
190 self.pages[key] = value 189 self.pages[key] = value
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/page/page_runner_unittest.py ('k') | tools/telemetry/telemetry/page/page_set_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698