mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Tabnanny fixes
This commit is contained in:
parent
c84cb9511b
commit
b8fd1f18ab
3 changed files with 14 additions and 14 deletions
|
|
@ -30,12 +30,12 @@ def mkalias(src, dst, relative=None):
|
|||
"""Create a finder alias"""
|
||||
srcfss = macfs.FSSpec(src)
|
||||
dstfss = macfs.FSSpec(dst)
|
||||
if relative:
|
||||
relativefss = macfs.FSSpec(relative)
|
||||
# ik mag er geen None in stoppen :-(
|
||||
alias = srcfss.NewAlias(relativefss)
|
||||
else:
|
||||
alias = srcfss.NewAlias()
|
||||
if relative:
|
||||
relativefss = macfs.FSSpec(relative)
|
||||
# ik mag er geen None in stoppen :-(
|
||||
alias = srcfss.NewAlias(relativefss)
|
||||
else:
|
||||
alias = srcfss.NewAlias()
|
||||
srcfinfo = srcfss.GetFInfo()
|
||||
|
||||
Res.FSpCreateResFile(dstfss, srcfinfo.Creator, srcfinfo.Type, -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue