Commit fd8350b9 authored by Julien Muchembled's avatar Julien Muchembled

shared: in signature file, save non-ascii chars as utf-8 rather than JSON-escaped

parent a5a9dcee
......@@ -115,7 +115,7 @@ class Shared(object):
if profile_base_location else v)
for k, v in options.items()
if k != '_profile_base_location_'
}, indent=0, sort_keys=True)
}, ensure_ascii=False, indent=0, sort_keys=True)
if not isinstance(signature, bytes): # BBB: Python 3
signature = signature.encode()
digest = md5(signature).hexdigest()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment