Added macostools.touch() calls to inform the finder of our changes.

This commit is contained in:
Jack Jansen 1996-09-15 22:13:59 +00:00
parent 57d53a90d9
commit 29a3355ab9
3 changed files with 6 additions and 0 deletions

View file

@ -10,6 +10,7 @@
import os
import macfs
import sys
import macostools
list = [
('.py', 'Pyth', 'TEXT'),
@ -33,6 +34,7 @@ def walktree(name, change):
if curcrtp <> (cr, tp):
if change:
fs.SetCreatorType(cr, tp)
macostools.touched(fs)
print 'Fixed ', name
else:
print 'Wrong', curcrtp, name