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

Unified Diff: build/android/pylib/perf_tests_helper.py

Issue 11779042: Test data output fix for Telemetry & Android: remove more special chars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: build/android/pylib/perf_tests_helper.py
diff --git a/build/android/pylib/perf_tests_helper.py b/build/android/pylib/perf_tests_helper.py
index ca9023b679393c4c6df7e5e73d39d7c259d8a9a4..bec92a20d2a1bcb308322ba658d08b5c7e304692 100644
--- a/build/android/pylib/perf_tests_helper.py
+++ b/build/android/pylib/perf_tests_helper.py
@@ -18,8 +18,7 @@ RESULT_TYPES = {'unimportant': 'RESULT ',
def _EscapePerfResult(s):
"""Escapes |s| for use in a perf result."""
- # Colons (:), equal signs (=) and slashes (/) are not allowed.
- return re.sub('[\:|=/]', '_', s)
+ return re.sub('[\:|=/#&]', '_', s)
def GeomMeanAndStdDevFromHistogram(histogram_json):
« 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