From 0ae78472a329d41d95ac94e1d6cee4869943d2ca 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, '\