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

Unified Diff: tools/telemetry/telemetry/page/page_set.py

Issue 349213002: Fix page set error message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/page/page_set.py
diff --git a/tools/telemetry/telemetry/page/page_set.py b/tools/telemetry/telemetry/page/page_set.py
index d2966ffa2932c08b78b526c80d9664478debc7e2..a9890bd405d58bdb9ec6c2c49f9933e7e3f64c30 100644
--- a/tools/telemetry/telemetry/page/page_set.py
+++ b/tools/telemetry/telemetry/page/page_set.py
@@ -95,7 +95,7 @@ class PageSet(object):
page_set_classes.append(getattr(module, m))
if len(page_set_classes) != 1:
raise PageSetError("Pageset file needs to contain exactly 1 pageset class"
- " with prefix 'PageSet'")
+ " with suffix 'PageSet'")
page_set = page_set_classes[0]()
for page in page_set.pages:
page_class = page.__class__
« 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