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