mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Moshe noticed an inconsistency in his comment, so I'm rephrasing it to
be clearer.
This commit is contained in:
		
							parent
							
								
									292f2c53da
								
							
						
					
					
						commit
						aa6ed0c341
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -24,8 +24,7 @@ import ZoomHeight
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ICONDIR = "Icons"
 | 
					ICONDIR = "Icons"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# If this file is <prefix>/lib/python1.5/idle/TreeWidget.py,
 | 
					# Look for Icons subdirectory in the same directory as this module
 | 
				
			||||||
# we expect to find the icons in <prefix>/lib/python1.5/Icons/
 | 
					 | 
				
			||||||
try:
 | 
					try:
 | 
				
			||||||
    _icondir = os.path.join(os.path.dirname(__file__), ICONDIR)
 | 
					    _icondir = os.path.join(os.path.dirname(__file__), ICONDIR)
 | 
				
			||||||
except NameError:
 | 
					except NameError:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue