Skip to content

Commit

Permalink
Don't use RexExecutor.execute_code isolate argument
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Morin <[email protected]>
  • Loading branch information
JeanChristopheMorinPerso committed Nov 4, 2023
1 parent 5b6d343 commit b8a3350
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rez/resolved_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,8 @@ def normalized(path):
commands.set_package(pkg)

try:
executor.execute_code(commands, isolate=True)
with executor.reset_globals():
executor.execute_code(commands)
except exc_type as e:
exc = e

Expand Down

0 comments on commit b8a3350

Please sign in to comment.