Chromium Code Reviews

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

Issue 739623005: [Telemetry] Resolve errors due to new pylint checker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready to land Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 f15a4e949e0842adba9b566fff16e21fbe5457b8..0c144e7ee3cd8186e8e20f44642700afd8ce7835 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/monsoon.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/monsoon.py
@@ -25,7 +25,7 @@ import serial.tools.list_ports # pylint: disable=F0401,E0611
Power = collections.namedtuple('Power', ['amps', 'volts'])
-class Monsoon:
+class Monsoon(object):
"""Provides a simple class to use the power meter.
mon = monsoon.Monsoon()

Powered by Google App Engine