Skip to content

Commit

Permalink
In page_runner, only look in the page_set bucket for wpr files.
Browse files Browse the repository at this point in the history
R=dtu@chromium.org, tonyg@chromium.org
BUG=356956

Review URL: https://codereview.chromium.org/330193003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279909 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
aiolos@chromium.org committed Jun 26, 2014
1 parent b6cc9ae commit c0da00f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/telemetry/telemetry/page/page_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ def _UpdatePageSetArchivesIfChanged(page_set):
if page_set.credentials_path:
try:
cloud_storage.GetIfChanged(
os.path.join(page_set.base_dir, page_set.credentials_path))
os.path.join(page_set.base_dir, page_set.credentials_path),
page_set.bucket)
except (cloud_storage.CredentialsError, cloud_storage.PermissionError,
cloud_storage.CloudStorageError) as e:
logging.warning('Cannot retrieve credential file %s due to cloud storage '
Expand All @@ -328,7 +329,7 @@ def _UpdatePageSetArchivesIfChanged(page_set):
os.path.join(dirpath, filename))
if extension != '.sha1':
continue
cloud_storage.GetIfChanged(path)
cloud_storage.GetIfChanged(path, page_set.bucket)


def Run(test, page_set, expectations, finder_options):
Expand Down

0 comments on commit c0da00f

Please sign in to comment.