Skip to content

Commit

Permalink
Fix test failure by better detecting string options from an updated C…
Browse files Browse the repository at this point in the history
…onfigParser.
  • Loading branch information
jaraco committed Jan 27, 2019
1 parent b1615d1 commit 249f24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def _set_command_options(self, command_obj, option_dict=None):
neg_opt = {}

try:
is_string = isinstance(value, str)
is_string = isinstance(value, six.string_types)
if option in neg_opt and is_string:
setattr(command_obj, neg_opt[option], not strtobool(value))
elif option in bool_opts and is_string:
Expand Down

0 comments on commit 249f24a

Please sign in to comment.