summaryrefslogtreecommitdiff
path: root/Lib/setuptools/command/setopt.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-04-18 17:32:12 +0000
committerTim Peters <tim.peters@gmail.com>2006-04-18 17:32:12 +0000
commit584b0e0c3d27dc6b576366368bf7ca2f60e69e7c (patch)
treef2e33dbae88a59b367819920a5c4a2260f080788 /Lib/setuptools/command/setopt.py
parent17a35f906c29e71510d749283b381d95a5de0316 (diff)
downloadcpython-git-584b0e0c3d27dc6b576366368bf7ca2f60e69e7c.tar.gz
Whilespace normalization (reindint.py).
Diffstat (limited to 'Lib/setuptools/command/setopt.py')
-rwxr-xr-xLib/setuptools/command/setopt.py14
1 files changed, 4 insertions, 10 deletions
diff --git a/Lib/setuptools/command/setopt.py b/Lib/setuptools/command/setopt.py
index dbf3a94ec1..e0c1058f38 100755
--- a/Lib/setuptools/command/setopt.py
+++ b/Lib/setuptools/command/setopt.py
@@ -82,7 +82,7 @@ def edit_config(filename, settings, dry_run=False):
class option_base(Command):
"""Abstract base class for commands that mess with config files"""
-
+
user_options = [
('global-config', 'g',
"save options to the site-wide distutils.cfg file"),
@@ -94,7 +94,7 @@ class option_base(Command):
boolean_options = [
'global-config', 'user-config',
- ]
+ ]
def initialize_options(self):
self.global_config = None
@@ -116,7 +116,7 @@ class option_base(Command):
"Must specify only one configuration file option",
filenames
)
- self.filename, = filenames
+ self.filename, = filenames
@@ -130,7 +130,7 @@ class setopt(option_base):
('command=', 'c', 'command to set an option for'),
('option=', 'o', 'option to set'),
('set-value=', 's', 'value of the option'),
- ('remove', 'r', 'remove (unset) the value'),
+ ('remove', 'r', 'remove (unset) the value'),
] + option_base.user_options
boolean_options = option_base.boolean_options + ['remove']
@@ -156,9 +156,3 @@ class setopt(option_base):
},
self.dry_run
)
-
-
-
-
-
-