mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-03 23:41:21 +00:00 
			
		
		
		
	Merge pull request #72 from bjackman/adb-pull-whitespace
android: Fix whitespace in wildcard match for ADB pull
This commit is contained in:
		@@ -210,7 +210,7 @@ class AdbConnection(object):
 | 
			
		||||
            command = 'shell {} {}'.format(self.ls_command, source)
 | 
			
		||||
            output = adb_command(self.device, command, timeout=timeout)
 | 
			
		||||
            for line in output.splitlines():
 | 
			
		||||
                command = "pull '{}' '{}'".format(line, dest)
 | 
			
		||||
                command = "pull '{}' '{}'".format(line.strip(), dest)
 | 
			
		||||
                adb_command(self.device, command, timeout=timeout)
 | 
			
		||||
            return
 | 
			
		||||
        command = "pull '{}' '{}'".format(source, dest)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user