summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/macostools.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-04-15 14:35:16 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-04-15 14:35:16 (GMT)
commitb8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b (patch)
treea5cac42c78fe79934cb11b14c789245409cd0c75 /Mac/Lib/macostools.py
parentc84cb9511b110a4c66d909cda18274f0e0a911d4 (diff)
downloadcpython-b8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b.zip
cpython-b8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b.tar.gz
cpython-b8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b.tar.bz2
Tabnanny fixes
Diffstat (limited to 'Mac/Lib/macostools.py')
-rw-r--r--Mac/Lib/macostools.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Lib/macostools.py b/Mac/Lib/macostools.py
index 374d3f1..c6035b4 100644
--- a/Mac/Lib/macostools.py
+++ b/Mac/Lib/macostools.py
@@ -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)