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

Unified Diff: build/android/pylib/pexpect.py

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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: build/android/pylib/pexpect.py
diff --git a/build/android/pylib/pexpect.py b/build/android/pylib/pexpect.py
index f566f1c52fde792453eb425d564eae3d1614ef2a..2e5364f3abf013b8808f7164d79e8432b9298b3b 100644
--- a/build/android/pylib/pexpect.py
+++ b/build/android/pylib/pexpect.py
@@ -17,5 +17,5 @@ if _PEXPECT_PATH not in sys.path:
# on platforms without pexpect and only fail when pexpect is actually used.
try:
from pexpect import *
-except:
+except ImportError:
pass

Powered by Google App Engine
This is Rietveld 408576698