diff options
Diffstat (limited to 'mobly/controllers/android_device_lib/jsonrpc_shell_base.py')
-rwxr-xr-x | mobly/controllers/android_device_lib/jsonrpc_shell_base.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mobly/controllers/android_device_lib/jsonrpc_shell_base.py b/mobly/controllers/android_device_lib/jsonrpc_shell_base.py index 3129f59..c6d395b 100755 --- a/mobly/controllers/android_device_lib/jsonrpc_shell_base.py +++ b/mobly/controllers/android_device_lib/jsonrpc_shell_base.py @@ -59,8 +59,11 @@ class JsonRpcShellBase: elif len(serials) == 1: serial = serials[0] else: - raise Error('Expected one phone, but %d found. Use the -s flag or ' - 'specify ANDROID_SERIAL.' % len(serials)) + raise Error( + 'Expected one phone, but %d found. Use the -s flag or ' + 'specify ANDROID_SERIAL.' + % len(serials) + ) if serial not in serials: raise Error('Device "%s" is not found by adb.' % serial) ads = android_device.get_instances([serial]) |