aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-17 19:23:33 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-17 19:23:33 +0100
commit744a61f18bbfcbf7dfaa08886185b4595d8b7bcb (patch)
tree0a46190af97901b276e7881b2e74ee46d5056d94 /setuptools/sandbox.py
parentc003c86fc22b8d20b81226d1e74c95a5c885e314 (diff)
downloadexternal_python_setuptools-744a61f18bbfcbf7dfaa08886185b4595d8b7bcb.tar.gz
external_python_setuptools-744a61f18bbfcbf7dfaa08886185b4595d8b7bcb.tar.bz2
external_python_setuptools-744a61f18bbfcbf7dfaa08886185b4595d8b7bcb.zip
Misc. updates following 2to3 checks.
--HG-- branch : single-codebase
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-xsetuptools/sandbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index 090cb34c..a5a01a46 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -85,7 +85,7 @@ def run_setup(setup_script, args):
# exclude any encodings modules. See #285
and not mod_name.startswith('encodings.')
]
- map(sys.modules.__delitem__, del_modules)
+ list(map(sys.modules.__delitem__, del_modules))
os.chdir(old_dir)
sys.path[:] = save_path
sys.argv[:] = save_argv