mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-10 01:10:11 +01:00
Remove unnecessary indenting
This commit is contained in:
parent
f9eda50276
commit
697011f086
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user