Commit 249f24a1 authored by Jason R. Coombs's avatar Jason R. Coombs

Fix test failure by better detecting string options from an updated ConfigParser.

parent b1615d12
......@@ -660,7 +660,7 @@ class Distribution(_Distribution):
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment