chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a7de2
)
fixed upper then lowercase sort, output as pretty xml as well
author
David Sterry
<david@sterryit.com>
Mon, 17 Jan 2011 07:51:30 +0000
(23:51 -0800)
committer
David Sterry
<david@sterryit.com>
Mon, 17 Jan 2011 07:51:30 +0000
(23:51 -0800)
update.py
patch
|
blob
|
history
diff --git
a/update.py
b/update.py
index 8c01e9f882a720079e434ea8b590fa2983a6382f..99081d2dbd7f85420976b7d8391f56bd6e99f85b 100644
(file)
--- a/
update.py
+++ b/
update.py
@@
-185,7
+185,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()
@@
-275,7
+275,7
@@
for app in apps:
apps_disabled += 1
of = open(os.path.join('repo','index.xml'), 'wb')
-output = doc.to
xml(
)
+output = doc.to
prettyxml(' '
)
of.write(output)
of.close()