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

Unified Diff: telemetry/telemetry/internal/platform/profiler/v8_profiler.py

Issue 2709523005: [Telemetry] Switch RunShellCommand clients to check_return=True (Closed)
Patch Set: revert change in chown command Created 3 years, 10 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 | « telemetry/telemetry/internal/platform/profiler/tcpdump_profiler.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/profiler/v8_profiler.py
diff --git a/telemetry/telemetry/internal/platform/profiler/v8_profiler.py b/telemetry/telemetry/internal/platform/profiler/v8_profiler.py
index 6a86e2935a423d385192939008ee14fa261dbbd4..b2d930f07df25c1969f0df1205c3584e1ca0c21d 100644
--- a/telemetry/telemetry/internal/platform/profiler/v8_profiler.py
+++ b/telemetry/telemetry/internal/platform/profiler/v8_profiler.py
@@ -40,7 +40,7 @@ class V8Profiler(profiler.Profiler):
host_output_file = '%s.log' % self._output_path
self._browser_backend.device.PullFile(output_file, host_output_file)
# Clean the device
- self._browser_backend.device.RunShellCommand('rm %s' % output_file)
+ self._browser_backend.device.RemovePath(output_file)
output_file = host_output_file
print 'V8 profile saved as %s' % output_file
print 'To view, open in ' \
« no previous file with comments | « telemetry/telemetry/internal/platform/profiler/tcpdump_profiler.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698