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

Unified Diff: tools/telemetry/telemetry/internal/util/webpagereplay.py

Issue 1458083003: [Telemetry + tools/perf] Modify the pylint disable message to use symbolic name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/internal/util/webpagereplay.py
diff --git a/tools/telemetry/telemetry/internal/util/webpagereplay.py b/tools/telemetry/telemetry/internal/util/webpagereplay.py
index 87f83a0b75cfcb420c8e768776e3183e4fd2bf99..d08a00f68de03bf78c0709a2af921765f474df80 100644
--- a/tools/telemetry/telemetry/internal/util/webpagereplay.py
+++ b/tools/telemetry/telemetry/internal/util/webpagereplay.py
@@ -243,7 +243,7 @@ class ReplayServer(object):
try:
# Use a SIGINT so that it can do graceful cleanup.
self.replay_process.send_signal(signal.SIGINT)
- except: # pylint: disable=W0702
+ except: # pylint: disable=bare-except
# On Windows, we are left with no other option than terminate().
is_primary_nameserver_changed_by_replay = (
self._use_dns_server and self._replay_host == '127.0.0.1')
@@ -261,7 +261,7 @@ class ReplayServer(object):
'the primary nameserver. That might not be restored!')
try:
self.replay_process.terminate()
- except: # pylint: disable=W0702
+ except: # pylint: disable=bare-except
pass
self.replay_process.wait()

Powered by Google App Engine
This is Rietveld 408576698