summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/dist.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2008-12-29 22:23:53 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2008-12-29 22:23:53 (GMT)
commitc13acb18bc2db9d8824ba94b86d8e4c8909d6b6c (patch)
tree985cbee160d36e67a6d72b564078b6195cfc5ead /Lib/distutils/dist.py
parentfc5a8543ce4f11c9ef39ce59ca433e473df74179 (diff)
downloadcpython-c13acb18bc2db9d8824ba94b86d8e4c8909d6b6c.zip
cpython-c13acb18bc2db9d8824ba94b86d8e4c8909d6b6c.tar.gz
cpython-c13acb18bc2db9d8824ba94b86d8e4c8909d6b6c.tar.bz2
fixed #4646 : distutils was choking on empty options arg in the setup function.
Diffstat (limited to 'Lib/distutils/dist.py')
-rw-r--r--Lib/distutils/dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 9ad94fb..c15ca97 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -235,7 +235,7 @@ Common commands: (see '--help-commands' for more)
# command options will override any supplied redundantly
# through the general options dictionary.
options = attrs.get('options')
- if options:
+ if options is not None:
del attrs['options']
for (command, cmd_options) in options.items():
opt_dict = self.get_option_dict(command)