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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/inspector_network.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. 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/backends/chrome/inspector_network.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py b/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py
index 32b4e8d050b0803283b7a9065c9e23001678b57c..2272cec95a19e0eba1b699fb854021f8a8851cc6 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/inspector_network.py
@@ -115,6 +115,7 @@ class InspectorNetworkResponseData(object):
params['requestId'] = event.args['requestId']
params['response'] = event.args['response']
recorded = InspectorNetworkResponseData(None, params)
+ # pylint: disable=protected-access
recorded._body = event.args['body']
recorded._base64_encoded = event.args['base64_encoded_body']
recorded._served_from_cache = event.args['served_from_cache']
@@ -184,7 +185,7 @@ class InspectorNetwork(object):
def GetHTTPResponseBody(self, request_id, timeout=60):
try:
- res = self._inspector_backend.SyncRequest({
+ res = self._inspector_backend.SyncRequest({
'method': 'Network.getResponseBody',
'params': {
'requestId': request_id,
@@ -204,7 +205,7 @@ class InspectorNetwork(object):
pass
@property
- def timeline_recorder (self):
+ def timeline_recorder(self):
if not self._timeline_recorder:
self._timeline_recorder = TimelineRecorder(self)
return self._timeline_recorder

Powered by Google App Engine
This is Rietveld 408576698