mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	utils/android: Remove uncessary parameter from method
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user