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

Unified Diff: build/android/update_verification.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/tombstones.py ('k') | testing/scripts/host_info.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/update_verification.py
diff --git a/build/android/update_verification.py b/build/android/update_verification.py
index 4731c6501b779273e3a1e385fabe2631760ac8b3..bdd49f1a3a24b67c75526c8bb35b702f4e4d991d 100755
--- a/build/android/update_verification.py
+++ b/build/android/update_verification.py
@@ -87,10 +87,9 @@ def main():
args = parser.parse_args()
run_tests_helper.SetLogLevel(args.verbose)
- if args.blacklist_file:
- blacklist = device_blacklist.Blacklist(args.blacklist_file)
- else:
- blacklist = None
+ blacklist = (device_blacklist.Blacklist(args.blacklist_file)
+ if args.blacklist_file
+ else None)
devices = device_utils.DeviceUtils.HealthyDevices(blacklist)
if not devices:
« no previous file with comments | « build/android/tombstones.py ('k') | testing/scripts/host_info.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698