diff options
author | borenet <borenet@chromium.org> | 2016-10-10 13:20:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-10 13:20:49 -0700 |
commit | 7535867371dc4528f1434968bf28b871b83f9f24 (patch) | |
tree | 08a152c1768f6116f53e1a6f8b73c36a860ce81e /tools | |
parent | ff9f7bbef6fdbd2ae7965ff18981aa8df33abd96 (diff) |
More fixes for webpages_playback
BUG=skia:5843
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2409753002
Review-Url: https://codereview.chromium.org/2409753002
Diffstat (limited to 'tools')
-rw-r--r-- | tools/skp/webpages_playback.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/skp/webpages_playback.py b/tools/skp/webpages_playback.py index 67bb198e50..1320a8614c 100644 --- a/tools/skp/webpages_playback.py +++ b/tools/skp/webpages_playback.py @@ -102,7 +102,7 @@ RETRY_RECORD_WPR_COUNT = 5 RETRY_RUN_MEASUREMENT_COUNT = 5 # Location of the credentials.json file in Google Storage. -CREDENTIALS_GS_PATH = '/playback/credentials/credentials.json' +CREDENTIALS_GS_PATH = 'playback/credentials/credentials.json' X11_DISPLAY = os.getenv('DISPLAY', ':0') @@ -480,7 +480,7 @@ class GoogleStorageDataStore(DataStore): 'gsutil', 'ls', '/'.join((self._url, name))]) except subprocess.CalledProcessError: return False - if len(output.splitlines) != 1: + if len(output.splitlines()) != 1: return False return True |