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

Remove unnecessary indenting

This commit is contained in:
Daniel Martí 2013-10-10 16:45:17 +02:00
parent f9eda50276
commit 697011f086

View File

@ -488,7 +488,8 @@ def make_index(apps, apks, repodir, archive, categories):
for app in apps:
if app['Disabled'] is None:
if app['Disabled'] is not None:
continue
# Get a list of the apks for this app...
apklist = []
@ -496,7 +497,9 @@ def make_index(apps, apks, repodir, archive, categories):
if apk['id'] == app['id']:
apklist.append(apk)
if len(apklist) != 0:
if len(apklist) == 0:
continue
apel = doc.createElement("application")
apel.setAttribute("id", app['id'])
root.appendChild(apel)