Commit 1b7a2b4a authored by Julien Muchembled's avatar Julien Muchembled

shared: do indent signature

These files are usually so small that it's free (< FS block size)
and it is more readable with non-str option values (possible with
slapos.buildout).
parent fd8350b9
......@@ -115,7 +115,7 @@ class Shared(object):
if profile_base_location else v)
for k, v in options.items()
if k != '_profile_base_location_'
}, ensure_ascii=False, indent=0, sort_keys=True)
}, ensure_ascii=False, indent=2, sort_keys=True)
if not isinstance(signature, bytes): # BBB: Python 3
signature = signature.encode()
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