mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Getting rid of macfs.
This commit is contained in:
parent
abeb7d5f7f
commit
98fc683719
3 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue