Index: build/android/enable_asserts.py |
diff --git a/build/android/enable_asserts.py b/build/android/enable_asserts.py |
index 1c6027744b5bb44ee3e9ec8857e69b71865e7256..0616567acbdae89984c6490365632423f43c531d 100755 |
--- a/build/android/enable_asserts.py |
+++ b/build/android/enable_asserts.py |
@@ -28,10 +28,9 @@ def main(): |
args = parser.parse_args() |
- 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) |
# TODO(jbudorick): Accept optional serial number and run only for the |
# specified device when present. |