mirror of
https://github.com/python/cpython.git
synced 2025-09-17 22:20:23 +00:00
fixed #4646 : distutils was choking on empty options arg in the setup function.
This commit is contained in:
parent
fc5a8543ce
commit
c13acb18bc
3 changed files with 28 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue