Skip to content

Commit

Permalink
Convert dict values to string for Python 2 support
Browse files Browse the repository at this point in the history
As @jensens pointed out in a comment about issue pypa#1136 this is a first step to prevent the occurrence of that issue
  • Loading branch information
smartsammler authored Jun 4, 2018
1 parent c2262d9 commit f5623a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def _parse_dict(cls, value):
if sep != separator:
raise DistutilsOptionError(
'Unable to parse option value to dict: %s' % value)
result[key.strip()] = val.strip()
result[key.strip()] = str(val.strip())

return result

Expand Down

0 comments on commit f5623a4

Please sign in to comment.