Commit 7477c874 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Don't change dict while it is being iterated over

parent a636aaa7
......@@ -1235,7 +1235,7 @@ def install_fsl(ctx):
# Clear any environment variables that
# refer to an existing FSL installation
env = os.environ.copy()
for v in env:
for v in list(env.keys()):
if 'FSL' in v:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment