mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
utils/android: Remove uncessary parameter from method
This commit is contained in:
parent
473f37f1bc
commit
27fc75f74c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user