1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-19 03:30:12 +02:00

Fix sha256 sums not appearing in the index

This commit is contained in:
Daniel Martí 2013-08-28 08:59:38 +02:00
parent 9137a611e0
commit 96d91342ee

View File

@ -539,7 +539,7 @@ def make_index(apps, apks, repodir, archive, categories):
addElement('apkname', apk['apkname'], doc, apkel) addElement('apkname', apk['apkname'], doc, apkel)
if 'srcname' in apk: if 'srcname' in apk:
addElement('srcname', apk['srcname'], doc, apkel) addElement('srcname', apk['srcname'], doc, apkel)
for hash_type in ('sha256'): for hash_type in ['sha256']:
if not hash_type in apk: if not hash_type in apk:
continue continue
hashel = doc.createElement("hash") hashel = doc.createElement("hash")