summaryrefslogtreecommitdiffstats
path: root/Lib/py_compile.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:18:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:18:46 (GMT)
commit98fc683719ed2c4c99b89b8e8f3762fe79a0be9f (patch)
tree749bb97fea02db44e1a3e271dfe260da0d0e7195 /Lib/py_compile.py
parentabeb7d5f7f8a7db4431521f460d964ff390b4c3c (diff)
downloadcpython-98fc683719ed2c4c99b89b8e8f3762fe79a0be9f.zip
cpython-98fc683719ed2c4c99b89b8e8f3762fe79a0be9f.tar.gz
cpython-98fc683719ed2c4c99b89b8e8f3762fe79a0be9f.tar.bz2
Getting rid of macfs.
Diffstat (limited to 'Lib/py_compile.py')
-rw-r--r--Lib/py_compile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/py_compile.py b/Lib/py_compile.py
index 2f4206d..02b0136 100644
--- a/Lib/py_compile.py
+++ b/Lib/py_compile.py
@@ -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