mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Argvemulator still used the old Alias API. Fixed.
This commit is contained in:
parent
443ada47c3
commit
b135548d0d
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue