mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +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) | ||||
|         # Resolve where the link points to | ||||
|         resolved = os.readlink(path) | ||||
|         if not abspath(resolved): | ||||
|         if not isabs(resolved): | ||||
|             dir = dirname(path) | ||||
|             path = normpath(join(dir, resolved)) | ||||
|         else: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew M. Kuchling
						Andrew M. Kuchling