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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/inspector_backend.py

Issue 10984018: [chrome_remote_control] Add pylint to PRESUMMIT and fix lint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for landing Created 8 years, 3 months 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/chrome_remote_control/chrome_remote_control/inspector_backend.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/inspector_backend.py b/tools/chrome_remote_control/chrome_remote_control/inspector_backend.py
index 7c1113993f8f73e2578f6d74f09ca05978aad9d0..fa00b8ad8b6869b6367166b665e9dab0aa46297f 100644
--- a/tools/chrome_remote_control/chrome_remote_control/inspector_backend.py
+++ b/tools/chrome_remote_control/chrome_remote_control/inspector_backend.py
@@ -45,7 +45,7 @@ class InspectorBackend(object):
if domain_name in self._domain_handlers:
try:
self._domain_handlers[domain_name][0](res)
- except:
+ except Exception:
import traceback
traceback.print_exc()
@@ -74,7 +74,7 @@ class InspectorBackend(object):
if domain_name in self._domain_handlers:
try:
self._domain_handlers[domain_name][0](res)
- except:
+ except Exception:
import traceback
traceback.print_exc()
else:

Powered by Google App Engine
This is Rietveld 408576698