mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
fix verify.py use sha256sum from common
This commit is contained in:
parent
b281c4ec82
commit
3576d025fe
@ -133,7 +133,7 @@ def write_json_report(url, remote_apk, unsigned_apk, compare_result):
|
|||||||
d = hashabledict()
|
d = hashabledict()
|
||||||
output[key] = d
|
output[key] = d
|
||||||
d['file'] = filename
|
d['file'] = filename
|
||||||
d['sha256'] = update.sha256sum(filename)
|
d['sha256'] = common.sha256sum(filename)
|
||||||
d['timestamp'] = os.stat(filename).st_ctime
|
d['timestamp'] = os.stat(filename).st_ctime
|
||||||
d['packageName'], d['versionCode'], d['versionName'] = common.get_apk_id(filename)
|
d['packageName'], d['versionCode'], d['versionName'] = common.get_apk_id(filename)
|
||||||
if compare_result:
|
if compare_result:
|
||||||
|
Loading…
Reference in New Issue
Block a user