summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-18 23:28:05 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-18 23:28:05 (GMT)
commitb135548d0d6fb390d2b1c64e9a0b3db6c2043346 (patch)
treed2cfe7d891fb7defee7f61dc79b17a01e6b784ad /Lib/plat-mac
parent443ada47c3e4ceedee9365e8caef43268154737c (diff)
downloadcpython-b135548d0d6fb390d2b1c64e9a0b3db6c2043346.zip
cpython-b135548d0d6fb390d2b1c64e9a0b3db6c2043346.tar.gz
cpython-b135548d0d6fb390d2b1c64e9a0b3db6c2043346.tar.bz2
Argvemulator still used the old Alias API. Fixed.
Diffstat (limited to 'Lib/plat-mac')
-rw-r--r--Lib/plat-mac/argvemulator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/argvemulator.py b/Lib/plat-mac/argvemulator.py
index 89d48b8..5fad8d4 100644
--- a/Lib/plat-mac/argvemulator.py
+++ b/Lib/plat-mac/argvemulator.py
@@ -101,8 +101,8 @@ class ArgvCollector:
def open_file(self, _object=None, **args):
for alias in _object:
- fss = alias.Resolve()[0]
- pathname = fss.as_pathname()
+ fsr = alias.FSResolveAlias(None)[0]
+ pathname = fsr.as_pathname()
sys.argv.append(pathname)
self._quit()