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

Unified Diff: telemetry/telemetry/internal/platform/profiler/netlog_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
Index: telemetry/telemetry/internal/platform/profiler/netlog_profiler.py
diff --git a/telemetry/telemetry/internal/platform/profiler/netlog_profiler.py b/telemetry/telemetry/internal/platform/profiler/netlog_profiler.py
index 5bda62607441691753b813e7a3f7a04873bae684..4d3673d5866f972967b759d6aad1ffe3ac5d8890 100644
--- a/telemetry/telemetry/internal/platform/profiler/netlog_profiler.py
+++ b/telemetry/telemetry/internal/platform/profiler/netlog_profiler.py
@@ -38,7 +38,7 @@ class NetLogProfiler(profiler.Profiler):
host_output_file = '%s.json' % 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 'Net-internals log saved as %s' % output_file
print 'To view, open in chrome://net-internals'

Powered by Google App Engine
This is Rietveld 408576698