mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Use isabs() in conditional, not abspath
This commit is contained in:
		
							parent
							
								
									a3711f73c1
								
							
						
					
					
						commit
						c75f11222c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -431,7 +431,7 @@ def _resolve_link(path): | ||||||
|         paths_seen.append(path) |         paths_seen.append(path) | ||||||
|         # Resolve where the link points to |         # Resolve where the link points to | ||||||
|         resolved = os.readlink(path) |         resolved = os.readlink(path) | ||||||
|         if not abspath(resolved): |         if not isabs(resolved): | ||||||
|             dir = dirname(path) |             dir = dirname(path) | ||||||
|             path = normpath(join(dir, resolved)) |             path = normpath(join(dir, resolved)) | ||||||
|         else: |         else: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew M. Kuchling
						Andrew M. Kuchling