From 249f24a1f04ce390a9e48a4d8a5bff7982714c86 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 26 Jan 2019 21:48:38 -0500 Subject: Fix test failure by better detecting string options from an updated ConfigParser. --- setuptools/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools') diff --git a/setuptools/dist.py b/setuptools/dist.py index a7ebe73b..b8551228 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -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: -- cgit v1.2.3