chiark / gitweb /
Fix sha256 sums not appearing in the index
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 28 Aug 2013 06:59:38 +0000 (08:59 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 28 Aug 2013 06:59:38 +0000 (08:59 +0200)
fdroidserver/update.py

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