mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 10:10:46 +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
|
return devices
|
||||||
|
|
||||||
|
|
||||||
def get_adb_command(device, command, timeout=None,adb_server=None):
|
def get_adb_command(device, command, adb_server=None):
|
||||||
_check_env()
|
_check_env()
|
||||||
device_string = ""
|
device_string = ""
|
||||||
if adb_server != None:
|
if adb_server != None:
|
||||||
@ -461,7 +461,7 @@ def get_adb_command(device, command, timeout=None,adb_server=None):
|
|||||||
return "adb{} {}".format(device_string, command)
|
return "adb{} {}".format(device_string, command)
|
||||||
|
|
||||||
def adb_command(device, command, timeout=None, adb_server=None):
|
def adb_command(device, command, timeout=None, adb_server=None):
|
||||||
full_command = get_adb_command(device, command, timeout, adb_server)
|
full_command = get_adb_command(device, command, adb_server)
|
||||||
logger.debug(full_command)
|
logger.debug(full_command)
|
||||||
output, _ = check_output(full_command, timeout, shell=True)
|
output, _ = check_output(full_command, timeout, shell=True)
|
||||||
return output
|
return output
|
||||||
|
Loading…
x
Reference in New Issue
Block a user