summaryrefslogtreecommitdiff
path: root/Lib/py_compile.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:18:46 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:18:46 +0000
commit98fc683719ed2c4c99b89b8e8f3762fe79a0be9f (patch)
tree749bb97fea02db44e1a3e271dfe260da0d0e7195 /Lib/py_compile.py
parentabeb7d5f7f8a7db4431521f460d964ff390b4c3c (diff)
downloadcpython-git-98fc683719ed2c4c99b89b8e8f3762fe79a0be9f.tar.gz
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 2f4206d4d5..02b01363ac 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