Migrate old data to new locations, read only new.
This commit is contained in:
parent
0316f6e471
commit
8baacd2741
10 changed files with 204 additions and 44 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