change Mac creator/type

This commit is contained in:
Guido van Rossum 1996-05-28 23:01:05 +00:00
parent 6cb84f3cde
commit dc42b8aa3d

View File

@ -27,5 +27,5 @@ def compile(file, cfile = None):
fc.close()
if os.name == 'mac':
import macfs
macfs.FSSpec(cfile).SetCreatorType('PYTH', 'PYC ')
macfs.FSSpec(file).SetCreatorType('PYTH', 'TEXT')
macfs.FSSpec(cfile).SetCreatorType('Pyth', 'PYC ')
macfs.FSSpec(file).SetCreatorType('Pyth', 'TEXT')