summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ptr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptr.py b/ptr.py
index 2e4ac3b..52fb7b4 100644
--- a/ptr.py
+++ b/ptr.py
@@ -165,7 +165,7 @@ class PyTest(orig.test):
'find_links', 'site_dirs', 'index_url', 'optimize',
'site_dirs', 'allow_hosts'
)
- for key in opts.keys():
+ for key in list(opts.keys()):
if key not in keep:
del opts[key] # don't use any other settings
if main_dist.dependency_links: