aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/saveopts.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/saveopts.py')
-rwxr-xr-xsetuptools/command/saveopts.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/command/saveopts.py b/setuptools/command/saveopts.py
index 1180a440..7209be4c 100755
--- a/setuptools/command/saveopts.py
+++ b/setuptools/command/saveopts.py
@@ -9,10 +9,9 @@ class saveopts(option_base):
def run(self):
dist = self.distribution
- commands = dist.command_options.keys()
settings = {}
- for cmd in commands:
+ for cmd in dist.command_options:
if cmd=='saveopts':
continue # don't save our own options!