diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-24 22:09:17 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-24 22:09:17 +0000 |
commit | 4d1c3e8720f95d289be891a18d484982989c3743 (patch) | |
tree | 726da70dc3e06d85ee85822416d4c34a87818ae5 /tools | |
parent | 0a56ed5234a503dd1d589d1164e56b3b636d6ca6 (diff) | |
download | chromium_src-4d1c3e8720f95d289be891a18d484982989c3743.zip chromium_src-4d1c3e8720f95d289be891a18d484982989c3743.tar.gz chromium_src-4d1c3e8720f95d289be891a18d484982989c3743.tar.bz2 |
Fix a couple of typo's to get CRC running again.
BUG=None
TEST=Manual on linux
Review URL: https://codereview.chromium.org/10989004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py | 2 | ||||
-rw-r--r-- | tools/chrome_remote_control/chrome_remote_control/page_set.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py b/tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py index e363873..8d5d74f 100644 --- a/tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py +++ b/tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py @@ -40,7 +40,7 @@ class CsvBenchmarkResults(page_test.PageTestResults): if not self.field_names: self.field_names = results.keys() self.field_names.sort() - results_writer.writerow(['url'] + self.field_names) + self._results_writer.writerow(['url'] + self.field_names) row = [page.url] for name in self.field_names: diff --git a/tools/chrome_remote_control/chrome_remote_control/page_set.py b/tools/chrome_remote_control/chrome_remote_control/page_set.py index 769124f..3e1981c 100644 --- a/tools/chrome_remote_control/chrome_remote_control/page_set.py +++ b/tools/chrome_remote_control/chrome_remote_control/page_set.py @@ -6,9 +6,10 @@ import urlparse class Page(object): def __init__(self, url, attributes={}): + self.url = url parsed_url = urlparse.urlparse(url) - if parse_url.scheme == None: - raise Exception("urls must be fully qualified: %s" % url) + if parsed_url.scheme == None: + raise Exception('urls must be fully qualified: %s' % url) self.interactions = 'scroll' self.credentials = None self.wait_time_after_navigate = 2 |