Index: tools/telemetry/telemetry/core/platform/power_monitor/sysfs_power_monitor.py |
diff --git a/tools/telemetry/telemetry/core/platform/power_monitor/sysfs_power_monitor.py b/tools/telemetry/telemetry/core/platform/power_monitor/sysfs_power_monitor.py |
index 57eb6982d4ebafc339a00be05bdedbf208c9e1f5..2a336d1d581f3f873752b1795dfefa8933c6dca8 100644 |
--- a/tools/telemetry/telemetry/core/platform/power_monitor/sysfs_power_monitor.py |
+++ b/tools/telemetry/telemetry/core/platform/power_monitor/sysfs_power_monitor.py |
@@ -54,7 +54,7 @@ class SysfsPowerMonitor(power_monitor.PowerMonitor): |
assert not self._browser, 'Must call StopMonitoringPower().' |
self._browser = browser |
if self.CanMonitorPower(): |
- self._cpus = filter( |
+ self._cpus = filter( # pylint: disable=deprecated-lambda |
lambda x: re.match(r'^cpu[0-9]+', x), |
self._platform.RunCommand('ls %s' % CPU_PATH).split()) |
self._initial_freq = self.GetCpuFreq() |