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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/monsoon.py

Issue 321773002: [PowerProfiler] Make sure correct version of pySerial is imported with monsoon profiler. (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
Index: tools/telemetry/telemetry/core/platform/profiler/monsoon.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/monsoon.py b/tools/telemetry/telemetry/core/platform/profiler/monsoon.py
index 21cb6d2fe7727f2e3c5067034f2f65ff108410b2..105e17c8f00eb56bba70e0d83974c22aae4d47b2 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/monsoon.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/monsoon.py
@@ -17,7 +17,7 @@ import time
from telemetry.core import util
-util.AddDirToPythonPath(util.GetTelemetryDir(), 'third_party', 'pyserial')
+util.InsertDirInPythonPath(0, util.GetTelemetryDir(), 'third_party', 'pyserial')
import serial # pylint: disable=F0401

Powered by Google App Engine
This is Rietveld 408576698