Flake8 fix

This commit is contained in:
Nickolay Bukreyev 2016-07-30 20:21:29 +07:00
parent 1f88ee9cb4
commit 34a64b0a97

View file

@ -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')