Convert git sha hash to text to be compatible with Python3

This also pin the six module version to 1.12 in order to be sure
six.ensure_text is available.
This commit is contained in:
marmeladema 2019-10-20 20:15:43 +01:00
parent 7e9ce2dbd5
commit af7e4d633a

View file

@ -767,7 +767,7 @@ install them, let us know by filing a bug!")
]).strip())
git_info.append('')
git_info.append(git_sha)
git_info.append(six.ensure_str(git_sha))
if git_is_dirty:
git_info.append('dirty')