mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Merge commit 'refs/merge-requests/4' of git://gitorious.org/f-droid/fdroidserver into integration
This commit is contained in:
commit
9cba2ef574
1 changed files with 2 additions and 2 deletions
|
|
@ -215,7 +215,7 @@ for apk in apks:
|
|||
print " " + apk['name'] + " - " + apk['version']
|
||||
|
||||
#Sort the app list by name, then the web site doesn't have to by default:
|
||||
apps = sorted(apps, key=lambda app: app['name'])
|
||||
apps = sorted(apps, key=lambda app: app['name'].upper())
|
||||
|
||||
# Create the index
|
||||
doc = Document()
|
||||
|
|
@ -324,7 +324,7 @@ for app in apps:
|
|||
apps_disabled += 1
|
||||
|
||||
of = open(os.path.join('repo','index.xml'), 'wb')
|
||||
output = doc.toxml()
|
||||
output = doc.toprettyxml(' ')
|
||||
of.write(output)
|
||||
of.close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue