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

Unified Diff: build/android/tombstones.py

Issue 1314823011: [Android] Don't use a device blacklist if one isn't provided. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 b1c79d3ff3d404b0094c7032c3de8ae598eb1d62..f7f5bdce22f49b58faadf8c7045c01cea41483f6 100755
--- a/build/android/tombstones.py
+++ b/build/android/tombstones.py
@@ -237,10 +237,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