Revert "Merge pull request #557 from coreos-inc/revert-migration"
This reverts commitc4f938898a
, reversing changes made to7ad2522dbe
.
This commit is contained in:
parent
5c063bd285
commit
39cfe77d42
11 changed files with 232 additions and 65 deletions
|
@ -68,7 +68,7 @@ def compute_tarsum(fp, json_data):
|
|||
|
||||
|
||||
def simple_checksum_handler(json_data):
|
||||
h = hashlib.sha256(json_data + '\n')
|
||||
h = hashlib.sha256(json_data.encode('utf8') + '\n')
|
||||
|
||||
def fn(buf):
|
||||
h.update(buf)
|
||||
|
|
Reference in a new issue