Index: tools/telemetry/telemetry/util/process_statistic_timeline_data.py |
diff --git a/tools/telemetry/telemetry/util/process_statistic_timeline_data.py b/tools/telemetry/telemetry/util/process_statistic_timeline_data.py |
index b44f03ddb5b43183088accfbcaca0e513b3440ca..589e8d35ba2bf5c5cfdb7484541556f2a373089f 100644 |
--- a/tools/telemetry/telemetry/util/process_statistic_timeline_data.py |
+++ b/tools/telemetry/telemetry/util/process_statistic_timeline_data.py |
@@ -21,7 +21,7 @@ class ProcessStatisticTimelineData(object): |
The motivation is that some processes may have died between two consecutive |
measurements. The desired behavior is to only make calculations based on |
the processes that are alive at the end of the second measurement.""" |
- # pylint: disable=W0212 |
+ # pylint: disable=protected-access |
ret = self.__class__(0, 0) |
my_dict = self._value_by_pid |
@@ -33,7 +33,7 @@ class ProcessStatisticTimelineData(object): |
def __add__(self, other): |
"""The result contains pids from both |self| and |other|, if duplicate |
pids are found between objects, an error will occur. """ |
- # pylint: disable=W0212 |
+ # pylint: disable=protected-access |
intersecting_pids = (set(self._value_by_pid.keys()) & |
set(other._value_by_pid.keys())) |
assert len(intersecting_pids) == 0 |