1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

Merge commit 'refs/merge-requests/4' of git://gitorious.org/f-droid/fdroidserver into integration

This commit is contained in:
Ciaran Gultnieks 2011-01-17 09:09:15 +00:00
commit 9cba2ef574

View File

@ -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()