From 4324f4f06a4a6ec575b2c999607d3967e6ee7834 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Fri, 25 Jul 2014 17:23:26 +0300 Subject: [PATCH] [Temp][Android] Fix 8c2a8abc. An indentation error was introduced when that commit was reworked for M37. Fix it by trying to make its logic work with Chromium r277050 --- build/android/adb_install_apk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py index 357353e87e755..ac6e505609873 100755 --- a/build/android/adb_install_apk.py +++ b/build/android/adb_install_apk.py @@ -77,10 +77,10 @@ def main(argv): while retry_times > 0: devices = android_commands.GetAttachedDevices() if options.device: - if options.device not in devices: - raise Exception('Error: %s not in attached devices %s' % (options.device, - ','.join(devices))) - devices = [options.device] + if options.device not in devices: + raise Exception('Error: %s not in attached devices %s' % \ + (options.device, ','.join(devices))) + devices = [options.device] if not devices: print 'No connected devices found, '\