mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	
						commit
						6d5b8926be
					
				| 
						 | 
					@ -1,8 +0,0 @@
 | 
				
			||||||
import sys
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
with open(sys.argv[1], 'r') as fd:
 | 
					 | 
				
			||||||
    content = '\n'.join(line.strip() for line in fd if line.strip())
 | 
					 | 
				
			||||||
if len(sys.argv) == 3:
 | 
					 | 
				
			||||||
    content = content.replace('Win32', sys.argv[2]).replace('x64', sys.argv[2])
 | 
					 | 
				
			||||||
with open(sys.argv[1], 'w') as fd:
 | 
					 | 
				
			||||||
    fd.write(content)
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user