mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Fixed typo in previous commit (issue #6815).
This commit is contained in:
		
						commit
						1392f68e0e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -301,7 +301,7 @@ def expandvars(path): | ||||||
|             name = name[1:-1] |             name = name[1:-1] | ||||||
|         try: |         try: | ||||||
|             if environ is None: |             if environ is None: | ||||||
|                 value = os.fsencode(os.environ[os.fsdecode(var)]) |                 value = os.fsencode(os.environ[os.fsdecode(name)]) | ||||||
|             else: |             else: | ||||||
|                 value = environ[name] |                 value = environ[name] | ||||||
|         except KeyError: |         except KeyError: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka