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

Unified Diff: systrace/systrace/tracing_agents/battor_trace_agent.py

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 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
Index: systrace/systrace/tracing_agents/battor_trace_agent.py
diff --git a/systrace/systrace/tracing_agents/battor_trace_agent.py b/systrace/systrace/tracing_agents/battor_trace_agent.py
index a9098c74b05222234a23705e46174c953abb858a..51d0d478dc80edf850ed4f4b9f67f74204afa426 100644
--- a/systrace/systrace/tracing_agents/battor_trace_agent.py
+++ b/systrace/systrace/tracing_agents/battor_trace_agent.py
@@ -111,5 +111,5 @@ class BattorTraceAgent(tracing_agents.TracingAgent):
Returns:
The trace data.
"""
- return tracing_agents.TraceResult('powerTraceAsString',
- '\n'.join(self._battor_wrapper.CollectTraceData()))
+ return tracing_agents.TraceResult(
+ 'powerTraceAsString', self._battor_wrapper.CollectTraceData())
« no previous file with comments | « systrace/systrace/tracing_agents/atrace_agent.py ('k') | systrace/systrace/tracing_agents/battor_trace_agent_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698