diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-26 21:48:38 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-26 21:48:38 -0500 |
commit | 249f24a1f04ce390a9e48a4d8a5bff7982714c86 (patch) | |
tree | 0c0df2e2133cbc96df33233fa3ffda258280525c | |
parent | b1615d12435289c21853be2f4f40e523317998da (diff) | |
download | python-setuptools-git-249f24a1f04ce390a9e48a4d8a5bff7982714c86.tar.gz |
Fix test failure by better detecting string options from an updated ConfigParser.
-rw-r--r-- | setuptools/dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |