mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	And another init incompatibility bites the dust.
This commit is contained in:
		
							parent
							
								
									d6b9ce961e
								
							
						
					
					
						commit
						c6d846a5d5
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -42,7 +42,8 @@ def main():
 | 
			
		|||
def process(filename):
 | 
			
		||||
	try:
 | 
			
		||||
		fp = open(filename, 'r+')
 | 
			
		||||
		vin = VFile.RandomVinFile().initfp(fp, filename)
 | 
			
		||||
		vin = VFile.RandomVinFile(fp)
 | 
			
		||||
		vin.filename = filename
 | 
			
		||||
	except IOError, msg:
 | 
			
		||||
		sys.stderr.write(filename + ': I/O error: ' + `msg` + '\n')
 | 
			
		||||
		return 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue