aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-01-05 12:31:44 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-01-05 12:31:44 -0500
commit818e80e00093764b261ac4c2595aedb9f194cf0d (patch)
tree4cc185e49118cb3e3573988f6af06f0c525bc8e8 /setuptools/dist.py
parent465f771654baf972034a4e21648bac48ec132f3d (diff)
downloadexternal_python_setuptools-818e80e00093764b261ac4c2595aedb9f194cf0d.tar.gz
external_python_setuptools-818e80e00093764b261ac4c2595aedb9f194cf0d.tar.bz2
external_python_setuptools-818e80e00093764b261ac4c2595aedb9f194cf0d.zip
Fix Python 3 failure when constructing an egg_fetcher. Fixes #131.
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r--setuptools/dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index c5b02f99..3126cb96 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -295,7 +295,7 @@ class Distribution(_Distribution):
'find_links', 'site_dirs', 'index_url', 'optimize',
'site_dirs', 'allow_hosts'
)
- for key in opts.keys():
+ for key in list(opts):
if key not in keep:
del opts[key] # don't use any other settings
if self.dependency_links: