diff Mac/scripts/fixfiletypes.py @ 4311:c97ffd2ebd53 legacy-trunk

Added macostools.touch() calls to inform the finder of our changes.
author Jack Jansen <jack.jansen@cwi.nl>
date Sun, 15 Sep 1996 22:13:59 +0000
parents ec84949f81ee
children caa6df9e0880
line wrap: on
line diff
--- a/Mac/scripts/fixfiletypes.py	Sun Sep 15 22:13:26 1996 +0000
+++ b/Mac/scripts/fixfiletypes.py	Sun Sep 15 22:13:59 1996 +0000
@@ -10,6 +10,7 @@
 import os
 import macfs
 import sys
+import macostools
 
 list = [
 	('.py', 'Pyth', 'TEXT'),
@@ -33,6 +34,7 @@
 				if curcrtp <> (cr, tp):
 					if change:
 						fs.SetCreatorType(cr, tp)
+						macostools.touched(fs)
 						print 'Fixed ', name
 					else:
 						print 'Wrong', curcrtp, name