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

Unified Diff: build/android/tombstones.py

Issue 1331213004: [Android] Don't use a device blacklist if one isn't provided. (RELAND 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: + adb_install_apk.py blacklist Created 5 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
« no previous file with comments | « build/android/test_runner.py ('k') | build/android/update_verification.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/tombstones.py
diff --git a/build/android/tombstones.py b/build/android/tombstones.py
index 69ae27f71db8a9a2f435ac947b95779abddcc2af..f4be6bdb104ea56ae0d9021cda901685ca9c0184 100755
--- a/build/android/tombstones.py
+++ b/build/android/tombstones.py
@@ -235,10 +235,9 @@ def main():
'crash stacks.')
options, _ = parser.parse_args()
- if options.blacklist_file:
- blacklist = device_blacklist.Blacklist(options.blacklist_file)
- else:
- blacklist = None
+ blacklist = (device_blacklist.Blacklist(options.blacklist_file)
+ if options.blacklist_file
+ else None)
if options.device:
devices = [device_utils.DeviceUtils(options.device)]
« no previous file with comments | « build/android/test_runner.py ('k') | build/android/update_verification.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698