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