mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	host: Fix typo s/src/source
Fix typo in LocalConnection._copy_path(): src => source
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							676336a72a
						
					
				
				
					commit
					914a93355a
				
			@@ -71,7 +71,7 @@ class LocalConnection(ConnectionBase):
 | 
			
		||||
            # Behave similarly as cp, scp, adb push, etc. by creating a new
 | 
			
		||||
            # folder instead of merging hierarchies
 | 
			
		||||
            if os.path.exists(dest):
 | 
			
		||||
                dest = os.path.join(dest, os.path.basename(os.path.normpath(src)))
 | 
			
		||||
                dest = os.path.join(dest, os.path.basename(os.path.normpath(source)))
 | 
			
		||||
 | 
			
		||||
            # Use distutils copy_tree since it behaves the same as
 | 
			
		||||
            # shutils.copytree except that it won't fail if some folders
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user