Getting rid of macfs.

This commit is contained in:
Jack Jansen 2003-02-27 23:18:46 +00:00
parent abeb7d5f7f
commit 98fc683719
3 changed files with 9 additions and 9 deletions

View file

@ -63,9 +63,9 @@ class PyCompileError(Exception):
# Define an internal helper according to the platform
if os.name == "mac":
import macfs
import MacOS
def set_creator_type(file):
macfs.FSSpec(file).SetCreatorType('Pyth', 'PYC ')
MacOS.SetCreatorAndType(file, 'Pyth', 'PYC ')
else:
def set_creator_type(file):
pass