From 818e80e00093764b261ac4c2595aedb9f194cf0d Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 5 Jan 2014 12:31:44 -0500 Subject: Fix Python 3 failure when constructing an egg_fetcher. Fixes #131. --- setuptools/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/dist.py') 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: -- cgit v1.2.1