Commit 40765aa0 authored by Guido Trotter's avatar Guido Trotter
Browse files

serializer.DumpSignedJson



Don't indent the final message.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 89c52785
......@@ -93,7 +93,7 @@ def DumpSignedJson(data, key, salt=None):
'salt': salt,
'hmac': hmac.new(key, salt + txt, sha1).hexdigest(),
}
return DumpJson(signed_dict)
return DumpJson(signed_dict, indent=False)
def LoadSignedJson(txt, key):
......
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