import MACFS
import MacOS
from Res import *
+import macostools
# .pyc file (and 'PYC ' resource magic number)
MAGIC = imp.get_magic()
CloseResFile(output)
+ macostools.touched(dest_fss)
if DEBUG:
print "Applet created:", destname
import os
import macfs
import sys
+import macostools
OLD='PYTH'
NEW='Pyth'
cur_cr, cur_tp = fs.GetCreatorType()
if cur_cr == OLD:
fs.SetCreatorType(NEW, cur_tp)
+ macostools.touched(fs)
print 'Fixed ', name
elif os.path.isdir(name):
print '->', name
import os
import macfs
import sys
+import macostools
list = [
('.py', 'Pyth', 'TEXT'),
if curcrtp <> (cr, tp):
if change:
fs.SetCreatorType(cr, tp)
+ macostools.touched(fs)
print 'Fixed ', name
else:
print 'Wrong', curcrtp, name