summaryrefslogtreecommitdiff
path: root/numpy/distutils/exec_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/exec_command.py')
-rw-r--r--numpy/distutils/exec_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py
index c4e035a31..0af60ec34 100644
--- a/numpy/distutils/exec_command.py
+++ b/numpy/distutils/exec_command.py
@@ -195,7 +195,7 @@ def exec_command( command,
else:
log.debug('Retaining cwd: %s' % oldcwd)
- oldenv = _preserve_environment( env.keys() )
+ oldenv = _preserve_environment( list(env.keys()) )
_update_environment( **env )
try: