summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/bdist_rpm.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-09-25 01:41:15 (GMT)
committerGreg Ward <gward@python.net>2000-09-25 01:41:15 (GMT)
commit99b032eaf24e1887f6451eceea7f1e24ced05a0f (patch)
tree759136a87badad9d9c87e9b6a3e4ff5180a2d9ed /Lib/distutils/command/bdist_rpm.py
parent817dc098efd0c2cba674cee32950fc5626e12881 (diff)
downloadcpython-99b032eaf24e1887f6451eceea7f1e24ced05a0f.zip
cpython-99b032eaf24e1887f6451eceea7f1e24ced05a0f.tar.gz
cpython-99b032eaf24e1887f6451eceea7f1e24ced05a0f.tar.bz2
Added 'boolean_options' list to support config file parsing.
Diffstat (limited to 'Lib/distutils/command/bdist_rpm.py')
-rw-r--r--Lib/distutils/command/bdist_rpm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py
index 2afc714..d585e8c 100644
--- a/Lib/distutils/command/bdist_rpm.py
+++ b/Lib/distutils/command/bdist_rpm.py
@@ -111,6 +111,8 @@ class bdist_rpm (Command):
"RPM 2 compatibility mode"),
]
+ boolean_options = ['keep-temp', 'rpm2-mode']
+
negative_opt = {'no-keep-temp': 'keep-temp',
'no-rpm-opt-flags': 'use-rpm-opt-flags',
'rpm2-mode': 'rpm3-mode'}