mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	gh-130878: Add extra check to prepare_ssl.py (GH-130879)
This commit is contained in:
		
							parent
							
								
									4f6218959e
								
							
						
					
					
						commit
						2904ec2273
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -70,7 +70,8 @@ def copy_includes(makefile, suffix):
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
        os.makedirs(dir)
 | 
					        os.makedirs(dir)
 | 
				
			||||||
    except OSError:
 | 
					    except OSError:
 | 
				
			||||||
        pass
 | 
					        if not os.path.isdir(dir):
 | 
				
			||||||
 | 
					            raise
 | 
				
			||||||
    copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl'
 | 
					    copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl'
 | 
				
			||||||
    with open(makefile) as fin:
 | 
					    with open(makefile) as fin:
 | 
				
			||||||
        for line in fin:
 | 
					        for line in fin:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue