mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Don't include slash in search string; it's OS-specific.
This commit is contained in:
		
							parent
							
								
									fff093fa7f
								
							
						
					
					
						commit
						b6d2f3e07d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -8,7 +8,7 @@ | |||
| _showwarning = None | ||||
| 
 | ||||
| def showwarning(message, category, filename, lineno, file=None): | ||||
|     i = filename.find("Lib/") | ||||
|     i = filename.find("Lib") | ||||
|     filename = filename[i:] | ||||
|     print "%s:%s: %s: %s" % (filename, lineno, category.__name__, message) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jeremy Hylton
						Jeremy Hylton