mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Remove unnecessary indenting
This commit is contained in:
parent
f9eda50276
commit
697011f086
1 changed files with 92 additions and 89 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue