1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-19 19:40:17 +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: 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... # Get a list of the apks for this app...
apklist = [] apklist = []
@ -496,7 +497,9 @@ def make_index(apps, apks, repodir, archive, categories):
if apk['id'] == app['id']: if apk['id'] == app['id']:
apklist.append(apk) apklist.append(apk)
if len(apklist) != 0: if len(apklist) == 0:
continue
apel = doc.createElement("application") apel = doc.createElement("application")
apel.setAttribute("id", app['id']) apel.setAttribute("id", app['id'])
root.appendChild(apel) root.appendChild(apel)