From: Jack Jansen Date: Tue, 18 Feb 2003 23:28:05 +0000 (+0000) Subject: Argvemulator still used the old Alias API. Fixed. X-Git-Tag: v2.3c1~1784 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b135548d0d6fb390d2b1c64e9a0b3db6c2043346;p=python Argvemulator still used the old Alias API. Fixed. --- diff --git a/Lib/plat-mac/argvemulator.py b/Lib/plat-mac/argvemulator.py index 89d48b85f0..5fad8d4b5d 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()