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:
parent
f9eda50276
commit
697011f086
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user