diff options
Diffstat (limited to 'lib/spack/external/jinja2/debug.py')
-rw-r--r-- | lib/spack/external/jinja2/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/external/jinja2/debug.py b/lib/spack/external/jinja2/debug.py index 07c21f1a8b..b61139f0cd 100644 --- a/lib/spack/external/jinja2/debug.py +++ b/lib/spack/external/jinja2/debug.py @@ -198,7 +198,7 @@ def translate_exception(exc_info, initial_skip=0): def get_jinja_locals(real_locals): ctx = real_locals.get('context') if ctx: - locals = ctx.get_all() + locals = ctx.get_all().copy() else: locals = {} |