mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	target: Fix typo in Target._prepare_xfer
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							528d3d4e0f
						
					
				
				
					commit
					55d914bf93
				
			@@ -474,7 +474,7 @@ class Target(object):
 | 
			
		||||
            dst_mkdir = functools.partial(os.makedirs, exist_ok=True)
 | 
			
		||||
 | 
			
		||||
        if not sources:
 | 
			
		||||
            raise src_excep('No file matching: {}'.format(source))
 | 
			
		||||
            raise src_excep('No file matching: {}'.format(sources))
 | 
			
		||||
        elif len(sources) > 1:
 | 
			
		||||
            if dst_path_exists(dest):
 | 
			
		||||
                if not dst_is_dir(dest):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user