mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	The import of the scanner can also fail, cater for that.
This commit is contained in:
		
							parent
							
								
									28f14012d7
								
							
						
					
					
						commit
						1b8bd94f73
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -6,7 +6,10 @@ | |||
| 
 | ||||
| def bgenone(dirname, shortname): | ||||
| 	os.chdir(dirname) | ||||
| 	try: | ||||
| 		m = __import__(shortname+'scan') | ||||
| 	except: | ||||
| 		return 0 | ||||
| 	try: | ||||
| 		m.main() | ||||
| 	except: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jack Jansen
						Jack Jansen