chiark / gitweb /
Correct typo
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Jun 2013 16:29:29 +0000 (18:29 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Jun 2013 16:29:29 +0000 (18:29 +0200)
fdroidserver/update.py

index 9f06e67228c9480c51943382dafda94da910cb77..e8aa3440aa18d658dbd8dae01adb000329a89841 100644 (file)
@@ -532,7 +532,7 @@ def make_index(apps, apks, repodir, archive, categories):
                         addElement('permissions', ','.join(apk['permissions']), doc, apkel)
                     if len(apk['nativecode']) > 0:
                         addElement('nativecode', ','.join(apk['nativecode']), doc, apkel)
-                    if len(apk['features') > 0:
+                    if len(apk['features']) > 0:
                         addElement('features', ','.join(apk['features']), doc, apkel)
 
     of = open(os.path.join(repodir, 'index.xml'), 'wb')