mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
Flake8 fix
This commit is contained in:
parent
1f88ee9cb4
commit
34a64b0a97
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ def main(argv=None):
|
|||
path = os.path.abspath(os.path.expanduser(args.file))
|
||||
if os.path.isfile(path):
|
||||
sys.argv = [args.file] + args.args
|
||||
env['ARGS'] = sys.argv[:] # $ARGS is not sys.argv
|
||||
env['ARGS'] = sys.argv[:] # $ARGS is not sys.argv
|
||||
env['XONSH_SOURCE'] = path
|
||||
run_script_with_cache(args.file, shell.execer, glb=shell.ctx,
|
||||
loc=None, mode='exec')
|
||||
|
|
Loading…
Add table
Reference in a new issue