Revert "Merge pull request #682 from jzelinskie/revertrevert"
This reverts commit627ad25c9c
, reversing changes made to31c392fecc
.
This commit is contained in:
parent
24b7064140
commit
278bc736e3
10 changed files with 65 additions and 212 deletions
|
@ -68,7 +68,7 @@ def compute_tarsum(fp, json_data):
|
|||
|
||||
|
||||
def simple_checksum_handler(json_data):
|
||||
h = hashlib.sha256(json_data.encode('utf8') + '\n')
|
||||
h = hashlib.sha256(json_data + '\n')
|
||||
|
||||
def fn(buf):
|
||||
h.update(buf)
|
||||
|
|
Reference in a new issue