mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 00:41:00 +01:00
Merge branch 'wrywerytwreywery-xonshrc'
This commit is contained in:
commit
6f53240ae1
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ def xonshrc_context(rcfile=None, execer=None):
|
|||
env = {}
|
||||
try:
|
||||
execer.filename = rcfile
|
||||
execer.exec(rc, glbs={}, locs=env)
|
||||
execer.exec(rc, glbs=env)
|
||||
except SyntaxError as err:
|
||||
msg = 'syntax error in xonsh run control file {0!r}: {1!s}'
|
||||
warn(msg.format(rcfile, err), RuntimeWarning)
|
||||
|
|
Loading…
Add table
Reference in a new issue