diff --git a/devlib/utils/android.py b/devlib/utils/android.py index 1c0c9cb..73a1857 100755 --- a/devlib/utils/android.py +++ b/devlib/utils/android.py @@ -452,7 +452,7 @@ def adb_list_devices(adb_server=None): return devices -def get_adb_command(device, command, timeout=None,adb_server=None): +def get_adb_command(device, command, adb_server=None): _check_env() device_string = "" if adb_server != None: @@ -460,8 +460,8 @@ def get_adb_command(device, command, timeout=None,adb_server=None): device_string += ' -s {}'.format(device) if device else '' return "adb{} {}".format(device_string, command) -def adb_command(device, command, timeout=None,adb_server=None): - full_command = get_adb_command(device, command, timeout, adb_server) +def adb_command(device, command, timeout=None, adb_server=None): + full_command = get_adb_command(device, command, adb_server) logger.debug(full_command) output, _ = check_output(full_command, timeout, shell=True) return output