mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
type
This commit is contained in:
parent
d66f85c508
commit
d3c3a40145
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ def setup(ctx=None, shell_type='none', env=(('RAISE_SUBPROC_ERROR', True),)):
|
|||
Environment to update the current environment with after the shell
|
||||
has been initialized.
|
||||
"""
|
||||
ctx = {} of ctx is None else ctx
|
||||
ctx = {} if ctx is None else ctx
|
||||
# setup xonsh ctx and execer
|
||||
builtins.__xonsh_ctx__ = ctx
|
||||
builtins.__xonsh_execer__ = Execer(xonsh_ctx=ctx)
|
||||
|
|
Loading…
Add table
Reference in a new issue