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)] |