mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.
This commit is contained in:
		
							parent
							
								
									d892d4e1c0
								
							
						
					
					
						commit
						4ea1f455d7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -86,7 +86,7 @@ def buildapplet(): | ||||||
| 			verbose = 'default' | 			verbose = 'default' | ||||||
| 		# Loop over all files to be processed | 		# Loop over all files to be processed | ||||||
| 		for filename in args: | 		for filename in args: | ||||||
| 			cr, tp = MacOS.GetCreatorAndType(filename) | 			cr, tp = MacOS.GetCreatorAndType(macfs.FSRef(filename)) | ||||||
| 			if tp == 'APPL': | 			if tp == 'APPL': | ||||||
| 				buildtools.update(template, filename, dstfilename) | 				buildtools.update(template, filename, dstfilename) | ||||||
| 			else: | 			else: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jack Jansen
						Jack Jansen