cast unicode to allow json dump

This commit is contained in:
Matthias Bussonnier 2014-09-28 15:20:04 +02:00
parent d71cdbd233
commit be4b180b03

View File

@ -579,7 +579,7 @@ def git_prebuild(pkg_dir, build_cmd=build_py):
with open(out_pth, 'w') as out_file:
out_file.writelines([
'# GENERATED BY setup.py\n',
'commit = "%s"\n' % repo_commit,
'commit = u"%s"\n' % repo_commit,
])
return require_submodules(MyBuildPy)