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

Unified Diff: tools/telemetry/telemetry/core/repeat_options.py

Issue 19700009: Fixing perfbots for run_measurements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/repeat_options.py
diff --git a/tools/telemetry/telemetry/core/repeat_options.py b/tools/telemetry/telemetry/core/repeat_options.py
index 7eae25414f2d1caf1d804b329ecbf457f3521379..9836dea2267fb2d4a4dd0c4e416016171239277c 100644
--- a/tools/telemetry/telemetry/core/repeat_options.py
+++ b/tools/telemetry/telemetry/core/repeat_options.py
@@ -36,8 +36,8 @@ class RepeatOptions(object):
parser.add_option_group(group)
def _ParseRepeatOption(self, browser_options, input_str, parser):
- match = re.match('([0-9]+)([sS]?)$', getattr(browser_options,
- input_str, ''))
+ match = re.match('([0-9]+)([sS]?)$', str(getattr(browser_options,
+ input_str, '')))
if match:
if match.group(2):
setattr(self, input_str + '_secs', float(match.group(1)))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698